Skip to content

AuthRequired: avoid undefined behavior in memcpy() call

Alan Coopersmith requested to merge alanc/libice:issue-10 into master

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

Merge request reports

Loading