1 2006-12-11 16:49 Christos Zoulas <christos@zoulas.com>
3 * fix byteswapping issue
5 * report the number of bytes we tried to
6 allocate when allocation fails
8 * add a few missed cases in the strength routine
10 2006-12-08 16:32 Christos Zoulas <christos@zoulas.com>
12 * store and print the line number of the magic
15 * if the magic entry did not print anything,
16 don't treat it as a match
18 * change the magic strength algorithm to take
19 into account the relationship op.
21 * fix a bug in search where we could accidentally
24 * propagate the error return from match to
27 2006-11-25 13:35 Christos Zoulas <christos@zoulas.com>
29 * Don't store the current offset in the magic
30 struct, because it needs to be restored and
31 it was not done properly all the time. Bug
32 found by: Arkadiusz Miskiewicz
34 * Fix problem in the '\0' separator; and don't
35 print it as an additional separator; print
36 it as the only separator.
38 2006-11-17 10:51 Christos Zoulas <christos@zoulas.com>
40 * Added a -0 option to print a '\0' separator
41 Etienne Buira <etienne.buira@free.fr>
43 2006-10-31 15:14 Christos Zoulas <christos@zoulas.com>
45 * Check offset before copying (Mike Frysinger)
47 * merge duplicated code
49 * add quad date support
51 * make sure that we nul terminate desc (Ryoji Kanai)
53 * don't process elf notes multiple times
55 * allow -z to report empty compressed files
57 * use calloc to initialize the ascii buffers (Jos van den Oever)
59 2006-06-08 11:11 Christos Zoulas <christos@zoulas.com>
61 * QNX fixes (Mike Gorchak)
65 * FIFO checks (Dr. Werner Fink)
67 * Linux ELF fixes (Dr. Werner Fink)
69 * Magic format checks (Dr. Werner Fink)
71 * Magic format function improvent (Karl Chen)
73 2006-05-03 11:11 Christos Zoulas <christos@zoulas.com>
75 * Pick up some elf changes and some constant fixes from SUSE
77 * Identify gnu tar vs. posix tar
79 * When keep going, don't print spurious newlines (Radek Vokál)
81 2006-04-01 12:02 Christos Zoulas <christos@zoulas.com>
83 * Use calloc instead of malloc (Mike Frysinger)
85 * Fix configure script to detect wctypes.h (Mike Frysinger)
87 2006-03-02 16:06 Christos Zoulas <christos@zoulas.com>
89 * Print empty if the file is (Mike Frysinger)
91 * Don't try to read past the end of the buffer (Mike Frysinger)
93 * Sort magic entries by strength [experimental]
95 2005-11-29 13:26 Christos Zoulas <christos@zoulas.com>
97 * Use iswprint() to convert the output string.
100 2005-10-31 8:54 Christos Zoulas <christos@zoulas.com>
102 * Fix regression where the core info was not completely processed
105 2005-10-20 11:15 Christos Zoulas <christos@zoulas.com>
107 * Middle Endian magic (Diomidis Spinellis)
109 2005-10-17 11:15 Christos Zoulas <christos@zoulas.com>
111 * Open with O_BINARY for CYGWIN (Corinna Vinschen)
113 * Don't close stdin (Arkadiusz Miskiewicz)
115 * Look for note sections in non executables.
117 2005-09-20 13:33 Christos Zoulas <christos@zoulas.com>
119 * Don't print SVR4 Style in core files multiple times
122 2005-08-27 04:09 Christos Zoulas <christos@zoulas.com>
124 * Cygwin changes Corinna Vinschen
126 2005-08-18 09:53 Christos Zoulas <christos@zoulas.com>
128 * Remove erroreous mention of /etc/magic in the file man page
129 This is gentoo bug 101639. (Mike Frysinger)
131 * Cross-compile support and detection (Mike Frysinger)
133 2005-08-12 10:17 Christos Zoulas <christos@zoulas.com>
135 * Add -h flag and dereference symlinks if POSIXLY_CORRECT
138 2005-07-29 13:57 Christos Zoulas <christos@zoulas.com>
140 * Avoid search and regex buffer overflows (Kelledin)
142 2005-07-12 11:48 Christos Zoulas <christos@zoulas.com>
144 * Provide stub implementations for {v,}nsprintf() for older
145 OS's that don't have them.
146 * Change mbstate_t autoconf detection macro from AC_MBSTATE_T
147 to AC_TYPE_MBSTATE_T.
149 2005-06-25 11:48 Christos Zoulas <christos@zoulas.com>
151 * Dynamically allocate the string buffers and make the
152 default read size 256K.
154 2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
156 * Dragonfly ELF note support
158 2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
160 * Avoid NULL pointer dereference in time conversion.
162 2005-03-06 00:00 Joerg Walter <jwalt@mail.garni.ch>
164 * Add indirect magic offset support, and search mode.
166 2005-01-12 00:00 Stepan Kasal <kasal@ucw.cz>
168 * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
169 If a CRLF text file happens to have CR at offset HOWMANY - 1
170 (currently 0xffff), it should not be counted as CR line
172 If a line has length exactly MAXLINELEN, it should not yet be
173 treated as a ``very long line'', as MAXLINELEN is ``longest sane
175 With CRLF, the line length was not computed correctly, and even
176 lines of length MAXLINELEN - 1 were treated as ``very long''.
178 2004-12-07 14:15 Christos Zoulas <christos@zoulas.com>
180 * bzip2 needs a lot of input buffer space on some files
181 before it can begin uncompressing. This makes file -z
182 fail on some bz2 files. Fix it by giving it a copy of
183 the file descriptor to read as much as it wants if we
184 have access to it. <christos@zoulas.com>
186 2004-11-24 12:39 Christos Zoulas <christos@zoulas.com>
188 * Stack smash fix, and ELF more conservative reading.
189 Jakub Bogusz <qboosh@pld-linux.org>
191 2004-11-20 18:50 Christos Zoulas <christos@zoulas.com>
193 * New FreeBSD version parsing code:
194 Jon Noack <noackjr@alumni.rice.edu>
196 * Hackish support for ucs16 strings <christos@zoulas.com>
198 2004-11-13 03:07 Christos Zoulas <christos@zoulas.com>
200 * print the file name and line number in syntax errors.
202 2004 10-12 10:50 Christos Zoulas <christos@zoulas.com>
204 * Fix stack overwriting on 0 length strings: Tim Waugh
205 <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
207 2004-09-27 11:30 Christos Zoulas <christos@zoulas.com>
209 * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
211 * Fix small memory leaks; caught by: Tamas Sarlos
212 <stamas@csillag.ilab.sztaki.hu>
214 2004-07-24 16:33 Christos Zoulas <christos@zoulas.com>
216 * magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
218 * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
220 * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
222 * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
224 2004-04-12 10:55 Christos Zoulas <christos@zoulas.com>
226 * make sure that magic formats match magic types during compilation
228 * fix broken sgi magic file
230 2004-04-06 20:36 Christos Zoulas <christos@zoulas.com>
232 * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
236 2004-03-22 15:25 Christos Zoulas <christos@zoulas.com>
239 (Joerg Ostertag) <ostertag@rechengilde.de>
241 * FreeBSD ELF version handling
242 (Edwin Groothuis) <edwin@mavetju.org>
244 * correct cleanup in all cases; don't just close the file.
245 (Christos Zoulas) <christos@zoulas.com>
247 * add gettext message catalogue support
248 (Michael Piefel) <piefel@debian.org>
250 * better printout for unreadable files
251 (Michael Piefel) <piefel@debian.org>
253 * compensate for missing MAXPATHLEN
254 (Michael Piefel) <piefel@debian.org>
256 * add wide character string length computation
257 (Michael Piefel) <piefel@debian.org>
259 * Avoid infinite loops caused by bad elf alignments
260 or name and description note sizes. Reported by
261 (Mikael Magnusson) <mmikael@comhem.se>
263 2004-03-09 13:55 Christos Zoulas <christos@zoulas.com>
265 * Fix possible memory leak on error and add missing regfree
266 (Dmitry V. Levin) <ldv@altlinux.org>
268 2003-12-23 12:12 Christos Zoulas <christos@zoulas.com>
270 * fix -k flag (Maciej W. Rozycki)
272 2003-11-18 14:10 Christos Zoulas <christos@zoulas.com>
274 * Try to give us much info as possible on corrupt elf files.
275 (Willy Tarreau) <willy@w.ods.org>
276 * Updated python bindings (Brett Funderburg)
277 <brettf@deepfile.com>
279 2003-11-11 15:03 Christos Zoulas <christos@zoulas.com>
281 * Include file.h first, because it includes config.h
282 breaks largefile test macros otherwise.
283 (Paul Eggert <eggert@CS.UCLA.EDU> via
284 Lars Hecking <lhecking@nmrc.ie>)
286 2003-10-14 21:39 Christos Zoulas <christos@zoulas.com>
288 * Python bindings (Brett Funderburg) <brettf@deepfile.com>
289 * Don't lookup past the end of the buffer
290 (Chad Hanson) <chanson@tcs-sec.com>
291 * Add MAGIC_ERROR and api on magic_errno()
293 2003-10-08 12:40 Christos Zoulas <christos@zoulas.com>
295 * handle error conditions from compile as fatal
296 (Antti Kantee) <pooka@netbsd.org>
297 * handle magic filename parsing sanely
299 * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
300 * describe magic file handling
301 (Bryan Henderson) <bryanh@giraffe-data.com>
303 2003-09-12 15:09 Christos Zoulas <christos@zoulas.com>
305 * update magic files.
306 * remove largefile support from file.h; it breaks things on most OS's
308 2003-08-10 10:25 Christos Zoulas <christos@zoulas.com>
310 * fix unmapping'ing of mmaped files.
312 2003-07-10 12:03 Christos Zoulas <christos@zoulas.com>
314 * don't exit with -1 on error; always exit 1 (Marty Leisner)
315 * restore utimes code.
317 2003-06-10 17:03 Christos Zoulas <christos@zoulas.com>
319 * make sure we don't access uninitialized memory.
321 * #ifdef __cplusplus in magic.h
323 2003-05-25 19:23 Christos Zoulas <christos@zoulas.com>
325 * rename cvs magic file to revision to deal with
326 case insensitive filesystems.
328 2003-05-23 17:03 Christos Zoulas <christos@zoulas.com>
330 * documentation fixes from Michael Piefel <piefel@debian.org>
331 * magic fixes (various)
332 * revert basename magic in .mgc name determination
333 * buffer protection in uncompress,
336 Maciej W. Rozycki <macro@ds2.pg.gda.pl
338 2003-04-21 20:12 Christos Zoulas <christos@zoulas.com>
342 2003-04-04 16:59 Christos Zoulas <christos@zoulas.com>
344 * fix operand sort order in string.
346 2003-04-02 17:30 Christos Zoulas <christos@zoulas.com>
348 * cleanup namespace in magic.h
350 2003-04-02 13:50 Christos Zoulas <christos@zoulas.com>
352 * Magic additions (Alex Ott)
353 * Fix bug that broke VPATH compilation (Peter Breitenlohner)
355 2003-03-28 16:03 Christos Zoulas <christos@zoulas.com>
357 * remove packed attribute from magic struct.
358 * make the magic struct properly aligned.
359 * bump version number of compiled files to 2.
361 2003-03-27 13:10 Christos Zoulas <christos@zoulas.com>
363 * separate tar detection and run it before softmagic.
364 * fix reversed symlink test.
365 * fix version printing.
366 * make separator a string instead of a char.
367 * update manual page and sort options.
369 2003-03-26 11:00 Christos Zoulas <christos@zoulas.com>
372 * make NULL in magic_file mean stdin
373 * Fix "-" argument to file to pass NULL to magic_file
374 * avoid pointer casts by using memcpy
375 * rename magic_buf -> magic_buffer
376 * keep only the first error
377 * manual page: new sentence, new line
378 * fix typo in api function (magic_buf -> magic_buffer)