Tightening NUT #2824
Labels
C-str
Issues and PRs about C/C++ methods, headers and data types dealing with strings and memory blocks
portability
We want NUT to build and run everywhere possible
Milestone
Be inspired by work done in cURL, we are not so far behind in many aspects. Further in others...
FOSDEM 2025 tightening every bolt - with Daniel Stenberg:
Points to ponder:
SOURCE_DATE_EPOCH
)fgets()
has range checks and is safe(r)), and even gmtime/localtime, also LoadLibrary (we don't directly use it; WIN32 builds of libltdl might? maybe?)checksrc
scanner? => https://github.com/curl/curl/blob/master/scripts/checksrc.pl (for complete list of methods see%banfunc
and.checsrc
files in various source subdirs)strtok
,sprintf
(uh!),strcat
andstrncat
(BTW why is it banned?); a bit ofgmtime
/localtime
(incommon/strptime.c
fallback andinclude/timehead.h
), wondering what would the replacement be if neededThe text was updated successfully, but these errors were encountered: