Up to [local] / src / usr.bin / file
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_0
Revision 1.2.10.1 / (download) - annotate - [select for diffs], Mon Jul 9 17:32:51 2007 UTC (16 years, 10 months ago) by ckuethe
Branch: OPENBSD_4_0
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)
Backport security fix. Original commit by: dim@openbsd.org Original commit message: Fix possible heap overflow in file(1), aka CVE-2007-1536. When writing data into a buffer in the file_printf() function, the length of the unused portion of the buffer is not correctly tracked, resulting in a buffer overflow when processing certain files. Adapted from FreeBSD's SA-07:04.file fix, with ok and some minor tweaks from canacar@ and ray@.
Revision 1.2 / (download) - annotate - [select for diffs], Wed May 19 02:36:26 2004 UTC (20 years ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_0_BASE,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
Branch point for: OPENBSD_4_1,
OPENBSD_4_0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)
remove old file, rcsids