summaryrefslogtreecommitdiff
path: root/usr.bin/file
AgeCommit message (Collapse)Author
2008-11-09protect against .orig files resulting from a patch.Marc Espie
2008-05-14add missing $OpenBSD$ tagsCharles Longeau
ok ian@
2008-05-08Update file to 4.21.Charles Longeau
tested by ian@ sthen@ OK ian@, "move ahead with it" deraadt@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-10-05use strcspn instead of strchr to properly overwrite '\n' in fgets returned ↵Charles Longeau
buffer check if the first byte is NUL instead of invoking strlen() with help of ray@ "Looks OK" millert@
2007-09-14remove some warnings:Charles Longeau
unused variable `variable' `variable' might be used uninitialized in this function ok gilles@ ray@
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
ok pyr@, ray@, millert@, moritz@, chl@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
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@.
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-08detect MP3 file with ID3 v2 tagNikolay Sturm
ok deraadt
2007-03-29let the description of -m match SYNOPSIS and usage(); from Igor SobradoJason McIntyre
2007-02-28spell maintenance correctlyDavid Krause
2007-02-27Recognize OpenBSD/sh core dumps.Miod Vallat
2007-02-24Remove several incorrect and/or unmaintained emails, prompted by correction ↵Ian Darwin
from bernd@
2007-02-19Our version of file(1) doesn't have the MIME magic file, so removeTom Cosgrove
references to -i/--mime and no longer accept them on the command line. Update the HISTORY section to be less confusing. Based on a diff to tech@ by Mikolaj Kucharski, mikolaj (dot) kucharski (at) gmail (dot) com. Prompted by jmc@; input from and ok jmc@ and otto@
2006-10-31Don't blindly truncate buf[strlen(buf) - 1] without checking forRay Lai
newline. Initial patch from Charles Longeau <chl at tuxfamily dot org>, fix inspired by comment by Anonymous Coward on undeadly. OK moritz@, ian@.
2006-10-12recognize 'sh' binaries.Dale Rahn
2006-07-18Sync with currentIan Darwin
2006-07-18Remove obsoleteIan Darwin
2006-07-18Documentation-only change: sync with current versionIan Darwin
2006-07-18Sync copyright dateIan Darwin
2006-06-02Replaced by new stuff in regressIan Darwin
2006-04-04Remove unused variable, spotted by otto@Pedro Martelletto
2006-04-04Fix case where a string could not be correctly terminated, okay jaredy@Pedro Martelletto
2005-10-20spelling;Jason McIntyre
ok ian@
2005-09-06recognize flac format; from netbsd viaFederico G. Schwindt
Okan Demirmen <okan@demirmen.com> to tech@; deraadt@ ok.
2005-05-18fix error message; ok ianJared Yanovich
2005-04-11handle -1 potential case from snprintf tooTheo de Raadt
2005-01-31recognize OpenEXR images.Marc Espie
okay ian Darwin.
2004-12-04sync manual and usage to file-4.09; bits from and ok ian and jmcJared Yanovich
2004-10-27oops! one line wrongPer Fogelstrom
2004-10-27Change how MIPS ISA level is output to be consistent with other arches.Per Fogelstrom
ok deraadt, grange and ian
2004-10-23Sparc->SPARCAlexander Yurchenko
Amd->AMD ok ian@
2004-10-20More mips executables from NetBSD.Alexander Yurchenko
ok ian@ tedu@
2004-10-14remove spurious version number referenceJared Yanovich
problem reported by ray cyth net ok millert
2004-09-25tidy buffer sizes, from Alexander Farber, PR 3924. ok tedu@Otto Moerbeek
2004-08-10put mips64 core file recognition (someone please test)Theo de Raadt
2004-06-03merge back two chunks that are different hereTed Unangst
2004-06-03ogg vorbis magic i found on a redhat boxTed Unangst
2004-06-03merge in new magic from file 4.09. Mostly from Bruno RoheeTed Unangst
2004-05-19remove old file, rcsidsTed Unangst
2004-05-19file 4.09Ted Unangst
2004-05-19big update to file 4.09. ok ian@Ted Unangst
2004-05-17dig b.out; from netbsdMichael Shalayeff
2004-03-23Recognize amd64 binaries and coredumps; ok todd@ deraadt@ drahn@Miod Vallat
2004-02-03Recognize openbsd arm executables and corefiles. ok deraadt@Dale Rahn
2003-12-07remove duplicate chunkTheo de Raadt
2003-12-07m88k partsTheo de Raadt
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek