* limitations under the License.
*/
+#include <folly/Portability.h>
+
#include <gtest/gtest.h>
namespace {
}
}
-TEST(memcpy, zero_len) {
+TEST(memcpy, zero_len) UBSAN_DISABLE("nonnull-attribute") {
// If length is 0, we shouldn't touch any memory. So this should
// not crash.
char* srcNull = nullptr;