[PATCH] Check for null pointers given to memcpy with ubsan
Alexey Samsonov
vonosmas at gmail.com
Mon May 11 13:06:06 PDT 2015
Wait a second, won't UBSan handle this automatically if memcpy/memmove are declared with __attribute__((nonnull)) in the header? Otherwise, is there a change to the standard that imposes these additional constraints on memcpy/memmove?
REPOSITORY
rL LLVM
http://reviews.llvm.org/D9673
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list