NetBSD/sys/rump/librump
kamil 17a313ddde Return early on 0-sized transfers (usually to/from NULL-objects)
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.
2020-04-05 15:16:11 +00:00
..
rumpdev no need to call config_init_mi() in rumpdev any more - rump_init() now calls 2020-02-23 01:53:03 +00:00
rumpkern Return early on 0-sized transfers (usually to/from NULL-objects) 2020-04-05 15:16:11 +00:00
rumpnet regen 2019-09-22 23:03:20 +00:00
rumpvfs Avoid copying zero-sized objects (from the NULL address) 2020-04-04 19:24:51 +00:00
Makefile
Makefile.inc
makerumpif.sh