OpenBSD CVS

CVS log for src/usr.bin/file/file.h


[BACK] Up to [local] / src / usr.bin / file

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_4_1


Revision 1.16.12.1 / (download) - annotate - [select for diffs], Mon Jul 9 17:32:48 2007 UTC (16 years, 10 months ago) by ckuethe
Branch: OPENBSD_4_1
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (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.16 / (download) - annotate - [select for diffs], Wed May 19 02:32:35 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.15: +167 -94 lines
Diff to previous 1.15 (colored)

big update to file 4.09.  ok ian@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.