imp a51cfac665 o Use snprintf rather than sprintf
o Add more checks for buffer overflows
o Use snprintf rather than strcat/cpy and have better checks for max
  length exceeded.

Most of these changes are not exploitable buffer overruns, but it never
hurts to be safe.

Inspired by and obtained from: OpenBSD
1998-06-09 04:17:29 +00:00
..
1998-06-09 04:17:29 +00:00
1995-05-30 06:41:30 +00:00
1997-09-24 02:43:45 +00:00
1998-06-09 04:17:29 +00:00
1994-05-27 12:33:43 +00:00
1998-06-09 04:17:29 +00:00
1998-06-09 04:17:29 +00:00
1997-09-24 02:43:45 +00:00
1997-09-24 02:43:45 +00:00
1998-06-09 04:17:29 +00:00
1998-06-09 04:17:29 +00:00
1998-06-09 04:17:29 +00:00
1998-06-09 04:17:29 +00:00