Denys Vlasenko
3d6f95ede6
whois: fix a possible out-of-bounds stack access
...
If fgets() returns incomplete string, we replace NUL with
'\n', and then trim() runs on a non-NUL-terminated buffer.
Prevent that.
While at it, bump buffer from 1k to 2k.
function old new delta
query 519 524 +5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-09-04 14:48:00 +02:00
..
2018-03-27 23:55:43 +02:00
2018-08-01 13:36:36 +02:00
2018-02-11 21:16:24 +01:00
2018-06-06 15:16:48 +02:00
2018-04-07 14:18:42 +02:00
2018-04-07 13:22:52 +02:00
2018-04-07 01:13:30 +02:00
2018-03-05 17:46:17 +01:00
2018-04-29 13:46:49 +02:00
2018-03-28 00:02:52 +02:00
2018-02-13 18:20:28 +01:00
2018-03-05 18:30:33 +01:00
2018-08-14 11:19:09 +02:00
2018-04-17 12:43:54 +02:00
2018-05-24 16:38:40 +02:00
2018-03-27 23:28:53 +02:00
2018-08-01 19:42:46 +02:00
2018-08-03 11:14:22 +02:00
2018-02-06 17:11:15 +01:00
2018-08-25 19:36:06 +02:00
2018-03-27 23:55:43 +02:00
2018-03-20 11:41:51 +01:00
2018-02-08 08:42:37 +01:00
2018-02-27 13:03:44 +01:00
2018-02-27 13:03:44 +01:00
2018-03-11 23:02:50 +01:00
2018-04-17 12:43:54 +02:00
2018-06-24 20:05:24 +02:00
2018-07-02 18:31:02 +02:00
2018-09-04 14:48:00 +02:00