5 Commits
Author SHA1 Message Date
Eric Roshan-Eisner 3309e66071 fix out of bounds read on error message.
ASAN previously would crash on this new test. The filename passed to
error_exit() was not zeroed, and would allow printf to scan into the heap
looking for the null terminator.
2023-01-11 14:30:43 -06:00
Rob Landley f02f67de63 patch --dry-run should not create or delete files. 2022-11-01 16:37:25 -05:00
Rob Landley de303e914b patch fuzz: Always output original file's ' ' context lines, not from hunk. 2020-07-20 22:03:51 -05:00
Rob Landley e4b41a30e4 Tighten up unquote_file() 2019-12-21 03:25:19 -06:00
Rob Landley de2ba955da Very basic patch smoketest 2019-12-21 03:21:26 -06:00