Clone
Stefan Sobernig <stefan.sobernig@wu.ac.at>
committed
on 27 Jun 18
* nsfInt.h (STRING_NEW): Silence GCC 8.1 warnings on truncation risk using strncpy; made me wonder whether STRING_NEW would not be more … Show more
* nsfInt.h (STRING_NEW): Silence GCC 8.1 warnings on truncation risk   using strncpy; made me wonder whether STRING_NEW would not be more   robust against mis-computations of the destination-buffer length by   using snprintf (mainly because snprintf does not nul-pad the   destination buffer and always nul-terminates the destination   buffer)?

Show less

2.2 + 20 more