-
Izzard, Robert Dr (Maths & Physics) authored
changed strncpy to strlcpy, and defined BAN_UNSAFE_FUNCTIONS which, in binary_c_code_options.h, stops various functions which are likely to cause buffer overruns from being used (e.g. strcpy, strcat, gets). This requires strlcpy instead of strncpy, hence libbsd. Use pkg-config to get the library and C-compiler flags required for the Makefile.
Izzard, Robert Dr (Maths & Physics) authoredchanged strncpy to strlcpy, and defined BAN_UNSAFE_FUNCTIONS which, in binary_c_code_options.h, stops various functions which are likely to cause buffer overruns from being used (e.g. strcpy, strcat, gets). This requires strlcpy instead of strncpy, hence libbsd. Use pkg-config to get the library and C-compiler flags required for the Makefile.
This project is licensed under the GNU General Public License v3.0 only.
Learn more
Loading