f961a547ff4230225315d027c5ce4845d5ba420d
Fixes a "buffer overflow detected" abort when compiled with _FORTIFY_SOURCE=1. The realpath(3) function in glibc checks if the destination buffer is large enough to hold up to PATH_MAX characters and aborts if that is not the case. PATH_MAX doesn't have to be defined so assume that it's equal to 4096. We should really be using pathconf(_PC_PATH_MAX) instead of a hard-coded value but that means we can no longer use static buffers to hold paths.
Description
The open-source, cross-platform level editor for id Tech based games.
Languages
C++
68.7%
C
24.1%
Python
1.7%
CMake
1.3%
Java
1%
Other
2.8%