Tobias Stoeckmann
63a96706b1
Handle malformed lines in hushlogins file.
...
If a line in hushlogins file, e.g. /etc/hushlogins, starts with
'\0', then current code performs an out of boundary write.
If the line lacks a newline at the end, then another character is
overridden.
With strcspn both cases are solved.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2021-10-29 19:50:38 +02:00
..
2021-06-24 09:18:35 +02:00
2021-08-18 18:06:02 +00:00
2011-09-18 21:02:43 +00:00
2020-01-12 07:31:26 -06:00
2019-10-04 18:40:41 -05:00
2011-08-14 14:00:14 +00:00
2021-06-24 09:18:35 +02:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2011-10-18 20:23:33 +00:00
2018-10-10 12:22:04 +02:00
2021-08-18 18:06:02 +00:00
2021-05-15 12:38:55 -05:00
2021-06-16 09:50:53 +02:00
2017-10-22 18:33:13 +00:00
2021-08-18 18:06:02 +00:00
2021-08-18 18:06:02 +00:00
2021-08-18 18:06:02 +00:00
2021-08-18 18:06:02 +00:00
2017-10-22 19:17:02 +00:00
2011-08-14 13:16:26 +00:00
2021-05-15 12:38:55 -05:00
2021-10-29 19:50:38 +02:00
2021-08-18 18:06:02 +00:00
2021-04-16 21:02:37 -05:00
2011-06-16 21:25:36 +00:00
2021-09-13 15:11:40 +00:00
2021-07-14 12:13:25 +02:00
2021-08-18 18:06:02 +00:00
2021-08-18 18:06:02 +00:00
2021-07-23 17:51:13 -05:00
2021-08-18 18:06:02 +00:00
2021-06-24 09:18:35 +02:00
2021-02-01 22:11:10 +01:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00
2021-08-18 18:06:02 +00:00
2019-03-31 16:00:01 +01:00
2021-05-15 12:38:55 -05:00
2010-09-05 15:34:42 +00:00
2021-05-15 12:38:55 -05:00
2021-08-14 13:43:26 -04:00
2021-05-15 12:38:55 -05:00
2017-10-22 18:33:13 +00:00
2013-08-04 15:56:32 +02:00
2021-06-24 09:18:35 +02:00
2021-06-16 09:50:53 +02:00
2013-07-28 18:41:11 +02:00
2021-05-15 12:38:55 -05:00
2021-05-15 12:38:55 -05:00