Do not compare uninitialized data
Valgrind only seems to complain about memcmp() operations that actually end up reading uninitialized data, while MemorySanitizer requires that the entire length of both buffers be defined.
Showing
Please register or sign in to comment