Closed lmwnshn closed 3 years ago
This happens if you use "string"
instead of 'string'
as your arg. So use the latter.
This is quite the footgun. Fwiw, 4096 is the linux limit
> cat /usr/include/linux/limits.h | grep -A 1 "#define NAME_MAX"
#define NAME_MAX 255 /* # chars in a file name */
#define PATH_MAX 4096 /* # chars in a path name including nul */
Bug Report
Summary
I was trying to run
which always got truncated to
/home/kapi/CLionProjects/noisepage/cmake-build-release/bin/ou_r
.A null byte appears to be forcefully written at byte 64...