Collin Funk
98e5418a38
fold: fix out of bounds write with zero width characters
...
* src/fold.c (fold_file): Prefer putchar ('\n') to copying characters.
If we do not have room in the output buffer print it since it is not a
full line of text.
* tests/fold/fold-zero-width.sh: New test case.
* tests/local.mk (all_tests): Add it.
2025-09-15 20:55:56 -07:00
..
2025-09-10 23:24:46 +01:00
2025-07-01 23:32:31 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-19 11:41:17 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-09-14 13:43:49 +01:00
2025-08-23 18:55:46 +01:00
2025-04-08 16:07:06 +01:00
2025-01-01 09:33:08 +00:00
2025-07-23 07:49:49 -07:00
2025-03-10 12:46:14 +00:00
2025-01-15 17:07:19 +00:00
2025-08-05 18:46:04 -07:00
2025-01-20 15:45:03 +00:00
2025-01-01 09:33:08 +00:00
2025-07-09 17:12:40 -07:00
2025-01-01 09:33:08 +00:00
2025-09-15 20:55:56 -07:00
2025-01-01 09:33:08 +00:00
2025-01-15 22:43:18 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-07-22 21:15:17 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-31 19:25:38 +01:00
2025-09-09 12:21:41 +01:00
2025-01-20 15:21:58 +00:00
2025-03-23 12:01:18 -07:00
2025-01-20 15:21:58 +00:00
2025-08-24 11:48:52 +01:00
2025-08-12 17:50:40 +01:00
2025-01-01 09:33:08 +00:00
2025-01-15 17:07:19 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-03 10:55:54 -07:00
2025-08-12 17:50:40 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-09-02 21:14:34 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-05 18:46:04 -07:00
2025-04-04 21:14:29 +01:00
2025-01-01 09:33:08 +00:00
2025-06-22 17:00:02 +01:00
2025-01-01 09:33:08 +00:00
2025-08-12 17:50:40 +01:00
2025-01-01 09:33:08 +00:00
2025-04-05 11:37:58 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-20 12:15:27 -07:00
2025-01-01 09:33:08 +00:00
2025-09-14 13:43:49 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-09-15 20:55:56 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00