AuthRequired: avoid undefined behavior in memcpy() call
In C23 and earlier, it is undefined behavior to call memcpy()
with a
NULL
pointer, even if the size to copy is zero bytes.
Closes: #10 (closed)
Signed-off-by: Alan Coopersmith
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
In C23 and earlier, it is undefined behavior to call memcpy()
with a
NULL
pointer, even if the size to copy is zero bytes.
Closes: #10 (closed)
Signed-off-by: Alan Coopersmith