17a313ddde
This logic is already present in subr_copy.c:copyin_vmspace() and rumpcopy.c:copyinstr(). This avoids memcpy() calls for NULL objects that is Undefined Behavior, allowed in the kernel space (-fno-delete-null-pointer-checks), but not in userland. Reported by UBSan. |
||
---|---|---|
.. | ||
rumpdev | ||
rumpkern | ||
rumpnet | ||
rumpvfs | ||
Makefile | ||
Makefile.inc | ||
makerumpif.sh |