HardenedBSD/contrib/libdiff/lib
Dag-Erling Smørgrav 974ea6b297 libdiff: Detect and recover from file truncation.
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
2024-05-20 15:26:33 +02:00
..
diff_atomize_text.c libdiff: Detect and recover from file truncation. 2024-05-20 15:26:33 +02:00
diff_debug.h
diff_internal.h
diff_main.c libdiff: Fix type issues. 2024-05-03 17:03:50 +02:00
diff_myers.c
diff_output_edscript.c
diff_output_plain.c
diff_output_unidiff.c
diff_output.c libdiff: More type issues. 2024-05-03 18:32:41 +02:00
diff_patience.c
GNUmakefile