mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-13 05:41:26 +01:00
974ea6b297
If a memory-mapped file is truncated before we get to the end, the atomizer may catch SIGBUS. Detect that, reduce the input length to what we were actually able to read, and set a flag so the caller can take further action (e.g. warn the user and / or start over). Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D45217 |
||
---|---|---|
.. | ||
diff_atomize_text.c | ||
diff_debug.h | ||
diff_internal.h | ||
diff_main.c | ||
diff_myers.c | ||
diff_output_edscript.c | ||
diff_output_plain.c | ||
diff_output_unidiff.c | ||
diff_output.c | ||
diff_patience.c | ||
GNUmakefile |