We can use PATH_MAX if you wish or hardcode 1024 ... The original code the string is not correct C string, ought to be visible from within gdb or even compiler sanitizer.
We can use PATH_MAX if you wish or hardcode 1024 ... The original code the string is not correct C string, ought to be visible from within gdb or even compiler sanitizer.
255 bytes a probably enough for absolute path, but why limit this?
We can use PATH_MAX if you wish or hardcode 1024 ... The original code the string is not correct C string, ought to be visible from within gdb or even compiler sanitizer.
Just tried with asan.