-
- Downloads
examples: pmemobjfs: fix a string copying corruption
As usually, any use of strncpy() for a C string is a bug. In this case, it will never null-terminate the string, then if the malloced buffer isn't zeroed, the strncat() will skip over some garbage. Found by gcc-9's new warnings, just enabled in dpkg-buildflags.
Loading
Please register or sign in to comment