Todd C. Miller
b3e86c65b1
expand_prompt: use correct strlcpy() size parameter
...
The available size passed to strlcpy() was computed incorrectly.
Switch to updating the length after writing to the new prompt instead
of computing it each time. The actual buffer size is computed and
allocated correctly so there is no real consequence to this bug.
Found by Qualys.
2021-08-09 08:19:40 -06:00
..
2021-03-03 08:19:44 -07:00
2021-06-15 14:25:26 -06:00
2021-07-26 11:39:41 -06:00
2021-04-06 14:44:19 -06:00
2021-04-01 15:10:32 -06:00
2021-02-24 12:20:36 -07:00
2021-02-24 12:20:36 -07:00
2020-08-12 13:45:09 -06:00
2021-04-06 14:44:19 -06:00
2021-01-03 14:29:38 -07:00
2021-02-13 15:48:21 -07:00
2020-11-01 15:01:16 -07:00
2020-11-02 05:39:06 -07:00
2020-08-07 14:22:56 -06:00
2021-04-06 14:44:19 -06:00
2021-07-09 11:08:44 -06:00
2021-07-09 11:08:44 -06:00
2021-07-09 11:08:44 -06:00
2021-07-29 09:29:10 -06:00
2021-06-02 07:21:40 -06:00
2021-04-25 19:12:50 -06:00
2021-02-24 19:09:46 -07:00
2021-02-16 13:19:58 -07:00
2020-08-17 13:14:30 -06:00
2021-08-02 08:57:35 -06:00
2021-02-24 17:14:51 -07:00
2021-02-24 17:14:51 -07:00
2021-02-24 19:08:43 -07:00
2021-01-30 09:29:31 -07:00
2021-01-06 14:27:09 -07:00
2021-01-06 14:27:09 -07:00
2020-09-23 08:55:43 -06:00
2020-09-25 15:09:45 -06:00
2021-01-06 14:27:09 -07:00
2021-04-06 14:44:19 -06:00
2021-02-08 13:43:49 -07:00
2021-04-06 14:44:19 -06:00
2020-10-30 10:15:30 -06:00
2021-06-21 10:09:32 -06:00
2021-04-30 11:03:23 -06:00
2020-08-31 14:09:36 -06:00
2021-04-06 14:44:19 -06:00
2021-04-06 14:44:19 -06:00
2021-01-06 10:16:00 -07:00
2020-10-26 16:10:40 -06:00
2021-07-26 13:40:25 -06:00
2020-11-09 18:32:37 -07:00
2021-07-23 15:02:26 -06:00
2021-07-09 11:08:44 -06:00
2021-04-25 19:12:50 -06:00
2021-02-28 19:51:46 -07:00
2021-02-28 19:51:46 -07:00
2020-09-09 15:26:45 -06:00
2020-09-29 21:16:34 -06:00
2021-02-02 15:06:38 -07:00
2021-02-18 06:09:08 -07:00
2021-02-23 18:42:37 -07:00
2021-07-15 11:07:25 -06:00
2021-08-09 08:19:40 -06:00
2021-02-22 12:33:21 -07:00
2021-04-06 18:57:33 -06:00
2021-01-06 14:27:09 -07:00
2020-08-31 14:09:36 -06:00
2021-04-06 14:44:19 -06:00
2021-01-06 13:01:10 -07:00
2021-01-27 15:41:54 -07:00
2021-01-28 09:15:36 -07:00
2021-02-22 19:53:08 -07:00
2020-11-23 10:47:47 -07:00
2021-01-31 05:44:40 -07:00
2021-02-24 19:09:46 -07:00
2020-09-25 12:24:45 -06:00
2021-02-25 19:37:27 -07:00
2021-07-15 11:07:25 -06:00
2020-10-26 15:31:41 -06:00
2021-03-18 11:39:54 -06:00
2021-03-18 11:39:54 -06:00
2021-04-07 11:10:17 -06:00
2021-02-08 16:06:08 -07:00
2021-04-06 14:44:19 -06:00
2021-02-08 13:43:49 -07:00
2021-04-06 14:44:19 -06:00
2020-08-31 14:09:36 -06:00
2021-03-18 11:39:54 -06:00
2021-03-18 11:39:54 -06:00
2021-07-29 15:26:04 -06:00