90a32fcecffb348d3f9a2fa252bfeec54e41a0ef
[dragonfly.git] / contrib / file / ChangeLog
1 2009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
2
3         * Avoid null dereference in cdf code (Drew Yao)
4
5         * More cdf bounds checks and overflow checks
6
7 2009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
8
9         * Buffer overflow fixes from Drew Yao
10
11 2009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
12
13         * Fix more cdf lossage. All the documents I have
14           right now print the correct information.
15
16 2009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
17
18         * don't print \012- separators in the same magic entry 
19           if it consists of multiple magic printing lines.
20
21 2009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
22
23         * Avoid file descriptor leak in compress code from
24           (Daniel Novotny)
25
26 2009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
27
28         * Allow escaping of relation characters, so that we can say \^[A-Z]
29           and the ^ is not eaten as a relation char.
30
31         * Fix troff and fortran to their previous glory using
32           regex. This was broken since their removel from ascmagic.
33
34 2009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
35
36         * don't use strlen in strndup() (Toby Peterson)
37
38 2009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
39
40         * avoid c99 syntax.
41
42 2009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
43
44         * make the cdf code use the buffer first if available,
45           and then the fd code.
46
47 2009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
48
49         * look for struct option to determine if getopt.h is usable for IRIX.
50
51         * sanitize cdf document strings
52
53 2009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
54
55         * fix OS/2 warnings.
56
57 2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
58
59         * fix initial offset calculation for non 4K sector files
60
61         * add loop limits to avoid DoS attacks by constructing
62           looping sector references.
63
64 2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
65
66         * fix memory botches on cdf file parsing.
67
68         * exit with non-zero value for any error, not just for the last
69           file processed.
70
71 2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
72
73         * Replace all str{cpy,cat} functions with strl{cpy,cat}
74         * Ensure that strl{cpy,cat} are included in libmagic,
75           as needed.
76
77 2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
78
79         * Handle ID3 format files.
80
81 2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
82
83         * Fix --mime, --mime-type and --mime-encoding under new scheme.
84
85         * Rename "ascii" to "text" and add "encoding" test.
86
87         * Return a precise ("utf-16le" or "utf-16be") MIME charset for
88           UTF-16.
89
90         * Fix error in comment caused by automatic indentation adding
91           words!
92
93 2008-11-06 10:35  Christos Zoulas <christos@astron.com>
94
95         * use memchr instead of strchr because the string
96           might not be NUL terminated (Scott MacVicar)
97
98 2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
99
100         * Fix a printf with a non-literal format string.
101
102         * Fix formatting and punctuation of help for "--apple".
103
104 2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
105
106         * Correct words counts in comments of struct magic.
107
108         * Fix handle_annotation to allow both Apple and MIME types to be
109           printed, and to return correct code if MIME type is
110           printed (1, not 0) or if there's an error (-1 not 1).
111
112         * Fix output of charset for MIME type (precede with semi-colon;
113           fixes Debian bug #501460).
114
115         * Fix potential attacks via conversion specifications in magic
116           strings.
117
118         * Add a FIXME for Debian bug #488562 (magic files should be
119           read in a defined order, by sorting the names).
120
121 2008-10-18 16:45  Christos Zoulas <christos@astron.com>
122
123         * Added APPLE file creator/type
124
125 2008-10-12 10:20  Christos Zoulas <christos@astron.com>
126
127         * Added CDF parsing
128
129 2008-10-09 16:40  Christos Zoulas <christos@astron.com>
130
131         * filesystem and msdos patches (Joerg Jenderek)
132
133 2008-10-09 13:20  Christos Zoulas <christos@astron.com>
134
135         * correct --exclude documentation issues: remove troff and fortran
136           and rename "token" to "tokens". (Randy McMurchy)
137
138 2008-10-01 10:30  Christos Zoulas <christos@astron.com>
139
140         * Read ~/.magic in addition to the default magic file not instead
141           of, as documented in the man page.
142
143 2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
144
145         * Comment out graphviz patterns, as they match too many files.
146
147 2008-08-30 12:54  Christos Zoulas <christos@astron.com>
148
149         * Don't eat trailing \n in magic enties.
150
151         * Cast defines to allow compilation using a c++ compiler.
152
153 2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
154
155         * Add text/x-lua MIME type for Lua scripts.
156
157         * Escape { in regex in graphviz patterns.
158
159 2008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
160
161         * Add MIME types for special files.
162
163         * Use access to give more accurate information for files that
164           can't be opened.
165
166         * Add a TODO list.
167
168 2008-07-02 11:15  Christos Zoulas  <christos@astron.com>
169
170         * add !:strength op to adjust magic strength (experimental)
171
172 2008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
173
174         * Fix automake error in configure.ac.
175
176         * Add MIME type for Psion Sketch files.
177
178 2008-06-05 08:59  Christos Zoulas  <christos@astron.com>
179
180         * Don't print warnings about bad namesize in stripped
181           binaries with PT_NOTE is still there, and the actual
182           note is gone (Jakub Jelinek)
183
184 2008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
185
186         * magic/Magdir/elf:
187           Note invalid byte order for little-endian SPARC32PLUS.
188           Add SPARC V9 vendor extensions and memory model.
189
190         * src/elfclass.h:
191           Pass target machine to doshn (for Solaris hardware capabilities).
192
193         * src/readelf.c (doshn):
194           Add support for Solaris hardware/software capabilities.
195
196         * src/readelf.h:
197           Ditto.
198
199         * src/vasprintf.c (dispatch):
200           Add support for ll modifier.
201
202 2008-05-16 10:25  Christos Zoulas  <christos@astron.com>
203
204         * Fix compiler warnings.
205
206         * remove stray printf, and fix a vprintf bug. (Martin Dorey)
207
208 2008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
209
210         * src/Makefile.am:
211           Ensure that getopt_long and [v]asprintf are included in libmagic,
212           as needed.
213
214           Remove unnecessary EXTRA_DIST.
215
216         * src/Makefile.in:
217           Rerun automake.
218
219         * src/vasprintf.c (dispatch):
220           Fix variable precision bug: be sure to step past '*'.
221
222         * src/vasprintf.c (core):
223           Remove unreachable code.
224
225         * src/apprentice.c (set_test_type):
226           Add cast to avoid compiler warning.
227
228 2008-04-22 23:45  Christos Zoulas  <christos@astron.com>
229
230         * Add magic submission guidelines (Abel Cheung)
231
232         * split msdos and windows magic (Abel Cheung)
233
234 2008-04-04 11:00  Christos Zoulas  <christos@astron.com>
235
236         * >= <= is not supported, so fix the magic and warn about it.
237           reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
238
239 2008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
240
241         * src/readelf.c (donote):
242           ELF core file command name/line bug fixes and enhancements:
243
244           Try larger offsets first to avoid false matches
245           from earlier data that happen to look like strings;
246           this primarily affected SunOS 5.x 32-bit Intel core files.
247
248           Add support for command line (instead of just short name)
249           for SunOS 5.x.
250
251           Add information about NT_PSINFO for SunOS 5.x.
252
253           Only trim whitespace from end of command line.
254
255 2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
256
257         * Change strength of ! from MULT to 0, as it matches almost
258                   anything (Reuben Thomas)
259
260         * Debian fixes (Reuben Thomas)
261
262 2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
263
264         * Clarify UTF-8 BOM message (Reuben Thomas)
265
266         * Add HTML comment to token list in names.h
267
268 2007-02-04 15:50 Christos Zoulas <christos@astron.com>
269
270         * Debian fixes (Reuben Thomas)
271
272 2007-02-04 11:31 Christos Zoulas <christos@astron.com>
273
274         * !:mime annotations in magic files (Reuben Thomas)
275
276 2007-01-29 15:35 Christos Zoulas <christos@astron.com>
277
278         * zero out utime/utimes structs (Gavin Atkinson)
279
280 2007-01-26 13:45 Christos Zoulas <christos@astron.com>
281
282         * reduce writable data from Diego "Flameeyes" Petten
283
284 2007-12-28 15:06 Christos Zoulas <christos@astron.com>
285
286         * strtof detection
287
288         * remove bogus regex magic that could cause a DoS
289
290         * better mismatch version message
291
292 2007-12-27 11:35 Christos Zoulas <christos@astron.com>
293
294         * bring back some fixes from OpenBSD
295
296         * treat ELF dynamic objects as executables
297
298         * fix gcc warnings
299
300 2007-12-01 19:55 Christos Zoulas <christos@astron.com>
301
302         * make sure we have zlib.h and libz to compile the builtin
303           decompress code
304
305 2007-10-28 20:48 Christos Zoulas <christos@astron.com>
306
307         * float and double magic support (Behan Webster)
308
309 2007-10-28 20:48 Christos Zoulas <christos@astron.com>
310
311         * Convert fortran to a soft test (Reuben Thomas)
312
313 2007-10-23  5:25 Christos Zoulas <christos@astron.com>
314
315         * Add --with-filename, and --no-filename (Reuben Thomas)
316
317 2007-10-23  3:59 Christos Zoulas <christos@astron.com>
318
319         * Rest of the mime split (Reuben Thomas)
320
321         * Make usage message generated from the flags so that
322           they stay consistent (Reuben Thomas)
323
324 2007-10-20  3:06 Christos Zoulas <christos@astron.com>
325
326         * typo in comment, missing ifdef QUICK, remove unneeded code
327                 (Charles Longeau)
328
329 2007-10-17  3:33 Christos Zoulas <christos@astron.com>
330
331         * Fix problem printing -\012 in some entries
332
333         * Separate magic type and encoding flags (Reuben Thomas)
334
335 2007-10-09  3:55 Christos Zoulas <christos@astron.com>
336
337         * configure fix for int64 and strndup (Reuben Thomas)
338
339 2007-09-26  4:45 Christos Zoulas <christos@astron.com>
340
341         * Add magic_descriptor() function.
342
343         * Fix regression in elf reading code where the core name was
344           not being printed.
345
346         * Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
347
348 2007-08-19  6:30 Christos Zoulas <christos@astron.com>
349
350         * Make mime format consistent so that it can
351           be easily parsed:
352               mimetype [charset=character-set] [encoding=encoding-mime-type]
353
354           Remove spurious extra text from some MIME type printouts
355           (mostly in is_tar).
356
357           Fix one case where -i produced nothing at all (for a 1-byte file,
358           which is now classed as application/octet-stream).
359
360           Remove 7/8bit classifications, since they were arbitrary
361           and not based on the file data.
362
363           This work was done by Reuben Thomas
364
365 2007-05-24 10:00 Christos Zoulas <christos@astron.com>
366
367         * Fix another integer overflow (Colin Percival)
368
369 2007-03-26 13:58 Christos Zoulas <christos@astron.com>
370
371         * make sure that all of struct magic_set is initialized appropriately
372           (Brett)
373
374 2007-03-25 17:44 Christos Zoulas <christos@astron.com>
375
376         * reset left bytes in the buffer (Dmitry V. Levin)
377
378         * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
379           (Peter Avalos)
380
381 2007-03-15 10:51 Christos Zoulas <christos@astron.com>
382
383         * fix fortran and nroff reversed tests (Dmitry V. Levin)
384
385         * fix exclude option (Dmitry V. Levin)
386
387 2007-02-08 17:30 Christos Zoulas <christos@astron.com>
388
389         * fix integer underflow in file_printf which can lead to
390           to exploitable heap overflow (Jean-Sebastien Guay-Lero)
391
392 2007-02-05 11:35 Christos Zoulas <christos@astron.com>
393
394         * make socket/pipe reading more robust
395
396 2007-01-25 16:01 Christos Zoulas <christos@astron.com>
397
398         * Centralize all the tests in file_buffer.
399
400         * Add exclude flag.
401
402 2007-01-18 05:29 Anon Ymous <do@not.spam.me>
403
404         * Move the "type" detection code from parse() into its own table
405           driven routine.  This avoids maintaining multiple lists in
406           file.h.
407
408         * Add an optional conditional field (ust before the type field).
409           This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
410           likely to go away.
411
412 2007-01-16 23:24 Anon Ymous <do@not.spam.me>
413
414         * Fix an initialization bug in check_mem().
415
416 2007-01-16 14:58 Anon Ymous <do@not.spam.me>
417
418         * Add a "default" type to print a message if nothing previously
419           matched at that level or since the last default at that
420           level.  This is useful for setting up switch-like statements.
421           It can also be used to do if/else constructions without a
422           redundant second test.
423
424         * Fix the "x" special case test so that one can test for that
425           string with "=x".
426
427         * Allow "search" to search the entire buffer if the "/N"
428           search count is missing.
429
430         * Make "regex" work!  It now starts its search at the
431           specified offset and takes an (optional) "/N" line count to
432           specify the search range; otherwise it searches to the end
433           of the file.  The match is now grabbed correctly for format
434           strings and the offset set to the end of the match.
435
436         * Add a "/s" flag to "regex" and "search" to set the offset to
437           the start of the match.  By default the offset is set to the
438           end of the match, as it is with other tests.  This is mostly
439           useful for "regex".
440
441         * Make "search", "string" and "pstring" use the same
442           file_strncmp() routine so that they support the same flags;
443           "bestring16" and "lestring16" call the same routine, but
444           with flags = 0.  Also add a "/C" flag (in analogy to "/c")
445           to ignore the case on uppercase (lowercase) characters in
446           the test string.
447
448         * Strict adherence to C style string escapes.  A warnings are
449           printed when compiling.  Note: previously "\a" was
450           incorrectly translated to 'a' instead of an <alert> (i.e.,
451           BELL, typically 0x07).
452
453         * Make this compile with "-Wall -Wextra" and all the warning
454           flags used with WARNS=4 in the NetBSD source.  Also make it
455           pass lint.
456
457         * Many "cleanups" and hopefully not too many new bugs!
458
459 2007-01-16 14:56 Anon Ymous <do@not.spam.me>
460
461         * make several more files compile with gcc warnings
462           on and also make them pass lint.
463
464 2007-01-16 14:54 Anon Ymous <do@not.spam.me>
465
466         * fix a puts()/putc() usage goof in file.c
467
468         * make file.c compile with gcc warnings and pass lint
469
470 2006-12-11 16:49 Christos Zoulas <christos@astron.com>
471
472         * fix byteswapping issue
473
474         * report the number of bytes we tried to
475           allocate when allocation fails
476
477         * add a few missed cases in the strength routine
478
479 2006-12-08 16:32 Christos Zoulas <christos@astron.com>
480
481         * store and print the line number of the magic
482           entry for debugging.
483
484         * if the magic entry did not print anything,
485           don't treat it as a match
486
487         * change the magic strength algorithm to take
488           into account the relationship op.
489
490         * fix a bug in search where we could accidentally
491           return a match.
492
493         * propagate the error return from match to
494           file_softmagic.
495
496 2006-11-25 13:35 Christos Zoulas <christos@astron.com>
497
498         * Don't store the current offset in the magic
499           struct, because it needs to be restored and
500           it was not done properly all the time. Bug
501           found by: Arkadiusz Miskiewicz
502
503         * Fix problem in the '\0' separator; and don't
504           print it as an additional separator; print
505           it as the only separator.
506
507 2006-11-17 10:51 Christos Zoulas <christos@astron.com>
508
509         * Added a -0 option to print a '\0' separator
510           Etienne Buira <etienne.buira@free.fr>
511
512 2006-10-31 15:14 Christos Zoulas <christos@astron.com>
513
514         * Check offset before copying (Mike Frysinger)
515
516         * merge duplicated code
517
518         * add quad date support
519
520         * make sure that we nul terminate desc (Ryoji Kanai)
521
522         * don't process elf notes multiple times
523
524         * allow -z to report empty compressed files
525
526         * use calloc to initialize the ascii buffers (Jos van den Oever)
527
528 2006-06-08 11:11 Christos Zoulas <christos@astron.com>
529
530         * QNX fixes (Mike Gorchak)
531
532         * Add quad support.
533
534         * FIFO checks (Dr. Werner Fink)
535
536         * Linux ELF fixes (Dr. Werner Fink)
537
538         * Magic format checks (Dr. Werner Fink)
539
540         * Magic format function improvent (Karl Chen)
541
542 2006-05-03 11:11 Christos Zoulas <christos@astron.com>
543
544         * Pick up some elf changes and some constant fixes from SUSE
545
546         * Identify gnu tar vs. posix tar
547
548         * When keep going, don't print spurious newlines (Radek Vokál)
549
550 2006-04-01 12:02 Christos Zoulas <christos@astron.com>
551
552         * Use calloc instead of malloc (Mike Frysinger)
553
554         * Fix configure script to detect wctypes.h (Mike Frysinger)
555
556 2006-03-02 16:06 Christos Zoulas <christos@astron.com>
557
558         * Print empty if the file is (Mike Frysinger)
559
560         * Don't try to read past the end of the buffer (Mike Frysinger)
561
562         * Sort magic entries by strength [experimental]
563
564 2005-11-29 13:26 Christos Zoulas <christos@astron.com>
565
566         * Use iswprint() to convert the output string.
567             (Bastien Nocera)
568
569 2005-10-31 8:54 Christos Zoulas <christos@astron.com>
570
571         * Fix regression where the core info was not completely processed
572             (Radek Vokál)
573
574 2005-10-20 11:15 Christos Zoulas <christos@astron.com>
575
576         * Middle Endian magic (Diomidis Spinellis)
577
578 2005-10-17 11:15 Christos Zoulas <christos@astron.com>
579
580         * Open with O_BINARY for CYGWIN (Corinna Vinschen)
581
582         * Don't close stdin (Arkadiusz Miskiewicz)
583
584         * Look for note sections in non executables.
585
586 2005-09-20 13:33 Christos Zoulas <christos@astron.com>
587
588         * Don't print SVR4 Style in core files multiple times
589             (Radek Vokál)
590
591 2005-08-27 04:09 Christos Zoulas <christos@astron.com>
592
593         * Cygwin changes Corinna Vinschen
594
595 2005-08-18 09:53 Christos Zoulas <christos@astron.com>
596
597         * Remove erroreous mention of /etc/magic in the file man page
598           This is gentoo bug 101639. (Mike Frysinger)
599
600         * Cross-compile support and detection (Mike Frysinger)
601
602 2005-08-12 10:17 Christos Zoulas <christos@astron.com>
603
604         * Add -h flag and dereference symlinks if POSIXLY_CORRECT
605           is set.
606
607 2005-07-29 13:57 Christos Zoulas <christos@astron.com>
608
609         * Avoid search and regex buffer overflows (Kelledin)
610
611 2005-07-12 11:48 Christos Zoulas <christos@astron.com>
612
613         * Provide stub implementations for {v,}nsprintf() for older
614           OS's that don't have them.
615         * Change mbstate_t autoconf detection macro from AC_MBSTATE_T
616           to AC_TYPE_MBSTATE_T.
617
618 2005-06-25 11:48 Christos Zoulas <christos@astron.com>
619
620         * Dynamically allocate the string buffers and make the
621           default read size 256K.
622
623 2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
624
625         * Dragonfly ELF note support
626
627 2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
628
629         * Avoid NULL pointer dereference in time conversion.
630
631 2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
632
633         * Add indirect magic offset support, and search mode.
634
635 2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
636
637         * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
638           If a CRLF text file happens to have CR at offset HOWMANY - 1
639           (currently 0xffff), it should not be counted as CR line
640           terminator.
641           If a line has length exactly MAXLINELEN, it should not yet be
642           treated as a ``very long line'', as MAXLINELEN is ``longest sane
643           line length''.
644           With CRLF, the line length was not computed correctly, and even
645           lines of length MAXLINELEN - 1 were treated as ``very long''.
646
647 2004-12-07 14:15  Christos Zoulas  <christos@astron.com>
648
649         * bzip2 needs a lot of input buffer space on some files
650           before it can begin uncompressing. This makes file -z
651           fail on some bz2 files. Fix it by giving it a copy of
652           the file descriptor to read as much as it wants if we
653           have access to it. <christos@astron.com>
654
655 2004-11-24 12:39  Christos Zoulas  <christos@astron.com>
656
657         * Stack smash fix, and ELF more conservative reading.
658           Jakub Bogusz <qboosh@pld-linux.org>
659
660 2004-11-20 18:50  Christos Zoulas  <christos@astron.com>
661
662         * New FreeBSD version parsing code:
663           Jon Noack <noackjr@alumni.rice.edu>
664
665         * Hackish support for ucs16 strings <christos@astron.com>
666
667 2004-11-13 03:07  Christos Zoulas  <christos@astron.com>
668
669         * print the file name and line number in syntax errors.
670
671 2004 10-12 10:50  Christos Zoulas  <christos@astron.com>
672
673         * Fix stack overwriting on 0 length strings: Tim Waugh
674             <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
675
676 2004-09-27 11:30  Christos Zoulas  <christos@astron.com>
677
678         * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
679
680         * Fix small memory leaks; caught by: Tamas Sarlos
681             <stamas@csillag.ilab.sztaki.hu>
682
683 2004-07-24 16:33  Christos Zoulas  <christos@astron.com>
684
685         * magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
686
687         * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
688
689         * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
690
691         * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
692
693 2004-04-12 10:55  Christos Zoulas  <christos@astron.com>
694
695         * make sure that magic formats match magic types during compilation
696
697         * fix broken sgi magic file
698
699 2004-04-06 20:36  Christos Zoulas  <christos@astron.com>
700
701         * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
702
703         * magic fixes
704
705 2004-03-22 15:25  Christos Zoulas  <christos@astron.com>
706
707         * Lots of mime fixes
708           (Joerg Ostertag) <ostertag@rechengilde.de>
709
710         * FreeBSD ELF version handling
711           (Edwin Groothuis) <edwin@mavetju.org>
712
713         * correct cleanup in all cases; don't just close the file.
714           (Christos Zoulas) <christos@astron.com>
715
716         * add gettext message catalogue support
717           (Michael Piefel) <piefel@debian.org>
718
719         * better printout for unreadable files
720           (Michael Piefel) <piefel@debian.org>
721
722         * compensate for missing MAXPATHLEN
723           (Michael Piefel) <piefel@debian.org>
724
725         * add wide character string length computation
726           (Michael Piefel) <piefel@debian.org>
727
728         * Avoid infinite loops caused by bad elf alignments
729           or name and description note sizes. Reported by
730           (Mikael Magnusson) <mmikael@comhem.se>
731
732 2004-03-09 13:55  Christos Zoulas  <christos@astron.com>
733
734         * Fix possible memory leak on error and add missing regfree
735           (Dmitry V. Levin) <ldv@altlinux.org>
736
737 2003-12-23 12:12  Christos Zoulas  <christos@astron.com>
738
739         * fix -k flag (Maciej W. Rozycki)
740
741 2003-11-18 14:10  Christos Zoulas  <christos@astron.com>
742
743         * Try to give us much info as possible on corrupt elf files.
744           (Willy Tarreau) <willy@w.ods.org>
745         * Updated python bindings (Brett Funderburg)
746            <brettf@deepfile.com>
747
748 2003-11-11 15:03  Christos Zoulas  <christos@astron.com>
749
750         * Include file.h first, because it includes config.h
751           breaks largefile test macros otherwise.
752           (Paul Eggert <eggert@CS.UCLA.EDU> via
753            Lars Hecking <lhecking@nmrc.ie>)
754
755 2003-10-14 21:39  Christos Zoulas  <christos@astron.com>
756
757         * Python bindings (Brett Funderburg) <brettf@deepfile.com>
758         * Don't lookup past the end of the buffer
759           (Chad Hanson) <chanson@tcs-sec.com>
760         * Add MAGIC_ERROR and api on magic_errno()
761
762 2003-10-08 12:40  Christos Zoulas  <christos@astron.com>
763
764         * handle error conditions from compile as fatal
765           (Antti Kantee) <pooka@netbsd.org>
766         * handle magic filename parsing sanely
767         * more magic fixes.
768         * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
769         * describe magic file handling
770           (Bryan Henderson) <bryanh@giraffe-data.com>
771
772 2003-09-12 15:09  Christos Zoulas  <christos@astron.com>
773
774         * update magic files.
775         * remove largefile support from file.h; it breaks things on most OS's
776
777 2003-08-10 10:25  Christos Zoulas  <christos@astron.com>
778
779         * fix unmapping'ing of mmaped files.
780
781 2003-07-10 12:03  Christos Zoulas  <christos@astron.com>
782
783         * don't exit with -1 on error; always exit 1 (Marty Leisner)
784         * restore utimes code.
785
786 2003-06-10 17:03  Christos Zoulas  <christos@astron.com>
787
788         * make sure we don't access uninitialized memory.
789         * pass lint
790         * #ifdef __cplusplus in magic.h
791
792 2003-05-25 19:23  Christos Zoulas  <christos@astron.com>
793
794         * rename cvs magic file to revision to deal with
795           case insensitive filesystems.
796
797 2003-05-23 17:03  Christos Zoulas  <christos@astron.com>
798
799         * documentation fixes from Michael Piefel <piefel@debian.org>
800         * magic fixes (various)
801         * revert basename magic in .mgc name determination
802         * buffer protection in uncompress,
803           signness issues,
804           close files
805           Maciej W. Rozycki <macro@ds2.pg.gda.pl
806
807 2003-04-21 20:12  Christos Zoulas  <christos@astron.com>
808
809         * fix zsh magic
810
811 2003-04-04 16:59  Christos Zoulas  <christos@astron.com>
812
813         * fix operand sort order in string.
814
815 2003-04-02 17:30  Christos Zoulas  <christos@astron.com>
816
817         * cleanup namespace in magic.h
818
819 2003-04-02 13:50  Christos Zoulas  <christos@astron.com>
820
821         * Magic additions (Alex Ott)
822         * Fix bug that broke VPATH compilation (Peter Breitenlohner)
823
824 2003-03-28 16:03  Christos Zoulas  <christos@astron.com>
825
826         * remove packed attribute from magic struct.
827         * make the magic struct properly aligned.
828         * bump version number of compiled files to 2.
829
830 2003-03-27 13:10  Christos Zoulas  <christos@astron.com>
831
832         * separate tar detection and run it before softmagic.
833         * fix reversed symlink test.
834         * fix version printing.
835         * make separator a string instead of a char.
836         * update manual page and sort options.
837
838 2003-03-26 11:00  Christos Zoulas  <christos@astron.com>
839
840         * Pass lint
841         * make NULL in magic_file mean stdin
842         * Fix "-" argument to file to pass NULL to magic_file
843         * avoid pointer casts by using memcpy
844         * rename magic_buf -> magic_buffer
845         * keep only the first error
846         * manual page: new sentence, new line
847         * fix typo in api function (magic_buf -> magic_buffer)