Files
profanity/src
Dmitry Podgorny 09e12a826f Fix gcc warnings for cygwin
strncpy(3) is not so safe function and can lead to mistakes. For
example, strncpy(dest, "Profanity", 10); is redundant and leads to
problems when someone changes the source string.

Different example is when 3rd argument equals to length of the
destination buffer. strncpy(3) doesn't terminate string with '\0' when
it truncates. Therefore, the destination string becomes corrupted.

Zeroize storage for 'nid', so the last byte remains '\0' in case of
truncate.
2020-06-24 16:29:19 +03:00
..
2020-06-23 14:42:09 +02:00
2020-06-13 15:02:43 +02:00
2020-06-24 03:07:53 +03:00
2020-06-24 16:29:19 +03:00
2020-06-13 15:02:43 +02:00
2020-05-27 22:06:04 +02:00
2020-06-12 16:12:21 +02:00
2020-04-06 14:42:52 +02:00
2020-03-24 23:00:39 +01:00