summaryrefslogtreecommitdiff
path: root/usr.bin/file/funcs.c
AgeCommit message (Collapse)Author
2009-04-24file update to 4.24Charles Longeau
The '-i' switch is now enabled so file(1) can output mime type strings. ok ian@ builk ports build test on amd64 by jasper@ ok ray@ gilles@ on a almost identical diff builk ports build test on sparc64 on this almost identical diff by ajacoutot@ also tested by landry@
2008-05-08Update file to 4.21.Charles Longeau
tested by ian@ sthen@ OK ian@, "move ahead with it" deraadt@
2007-07-09Fix possible heap overflow in file(1), aka CVE-2007-1536.Dimitry Andric
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@.
2005-04-11handle -1 potential case from snprintf tooTheo de Raadt
2004-05-19remove old file, rcsidsTed Unangst
2004-05-19big update to file 4.09. ok ian@Ted Unangst