1234449Sobrien2012-02-20  17:33  Christos Zoulas <christos@zoulas.com>
2234449Sobrien
3234449Sobrien	* Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)
4234449Sobrien
5234449Sobrien2011-12-15  12:17  Chris Metcalf <cmetcalf@tilera.com>
6234449Sobrien
7234449Sobrien	* Support Tilera architectures (tile64, tilepro, tilegx).
8234449Sobrien
9234449Sobrien2011-12-16  16:33  Reuben Thomas <rrt@sc3d.org>
10234449Sobrien
11234449Sobrien	* Add magic for /usr/bin/env Perl scripts
12234449Sobrien	* Weaken generic script magic to avoid clashing with
13234449Sobrien	language-specific magic.
14234449Sobrien
15234449Sobrien2011-12-08  13:37  Reuben Thomas <rrt@sc3d.org>
16234449Sobrien
17234449Sobrien	* Simplify if (p) free(p) to free(p).
18234449Sobrien
19234449Sobrien2011-12-08  13:07  Reuben Thomas <rrt@sc3d.org>
20234449Sobrien
21234449Sobrien	* Remove hardwired token finding (names.h), turning it into soft
22234449Sobrien	magic. Patterns are either anchored regexs or search/8192. English
23234449Sobrien	language detection and PL/1 detection have been removed as they
24234449Sobrien	were too fragile. -e tokens is still accepted for backwards
25234449Sobrien	compatibility.
26234449Sobrien	* Move 3ds patterns (which are commented out anyway) into autodesk
27234449Sobrien	(they were, oddly, in c-lang).
28234449Sobrien
29234449Sobrien2011-12-06  00:16  Reuben Thomas <rrt@sc3d.org>
30234449Sobrien
31234449Sobrien	* Tweak strength of generic hash-bang detectors to be less than
32234449Sobrien	specific ones.
33234449Sobrien	* Make an inconsistent description of Python scripts consistent.
34234449Sobrien
35234449Sobrien2011-12-05  23:58  Reuben Thomas <rrt@sc3d.org>
36234449Sobrien
37234449Sobrien	* Fix minor error in file(1).
38234449Sobrien
39234449Sobrien2011-11-05  00:00  Reuben Thomas <rrt@sc3d.org>
40234449Sobrien
41234449Sobrien	* Fix issue #150 (I hope).
42234449Sobrien
43234449Sobrien2011-09-22  12:57  Christos Zoulas <christos@zoulas.com>
44234449Sobrien
45234449Sobrien	* Python3 binding fixes from Kelly Anderson
46234449Sobrien
47234449Sobrien2011-09-20  11:32  Christos Zoulas <christos@zoulas.com>
48234449Sobrien
49234449Sobrien	* If a string type magic entry is marked as text or binary
50234449Sobrien	  only match text files against text entries and binary
51234449Sobrien	  files against binary entries.
52234449Sobrien
53234449Sobrien2011-09-01  12:12  Christos Zoulas <christos@zoulas.com>
54234449Sobrien
55234449Sobrien	* Don't wait for any subprocess, just the one we forked.
56234449Sobrien
57234449Sobrien2011-08-26  16:40  Christos Zoulas <christos@zoulas.com>
58234449Sobrien
59234449Sobrien	* If the application name is not set in a cdf file, try to see
60234449Sobrien	  if it has a directory with the application name on it.
61234449Sobrien
62234449Sobrien2011-08-17  14:32  Christos Zoulas <christos@zoulas.com>
63234449Sobrien
64234449Sobrien	* Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
65234449Sobrien
66234449Sobrien2011-08-14  09:03  Christos Zoulas <christos@zoulas.com>
67234449Sobrien
68234449Sobrien	* Don't use variable string formats.
69234449Sobrien
70234449Sobrien2011-07-12  12:32  Reuben Thomas <rrt@sc3d.org>
71234449Sobrien
72234449Sobrien	* Fix detection of Zip files (Mantis #128).
73234449Sobrien	* Make some minor improvements to file(1).
74234449Sobrien	* Rename MIME types for filesystem objects for consistency with
75234449Sobrien	  xdg-utils. Typically this means that application/x-foo becomes
76234449Sobrien	  inode/foo, but some names also change slightly, e.g.
77234449Sobrien	  application/x-character-device becomes inode/chardevice.
78234449Sobrien
79234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
80234449Sobrien
81234449Sobrien	* fix mingw compilation (Abradoks)
82234449Sobrien
83234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
84234449Sobrien
85234449Sobrien	* remove patchlevel.h
86234449Sobrien	* Fix read past allocated memory caused by double-incrementing
87234449Sobrien	  a pointer in a loop (reported by Roberto Maar)
88234449Sobrien
89234449Sobrien2011-03-30  15:45  Christos Zoulas <christos@zoulas.com>
90234449Sobrien
91234449Sobrien	* Fix cdf string buffer setting (Sven Anders)
92234449Sobrien
93234449Sobrien2011-03-20  16:35  Christos Zoulas <christos@zoulas.com>
94234449Sobrien
95234449Sobrien	* Eliminate MAXPATHLEN and use dynamic allocation for
96234449Sobrien	  path and file buffers.
97234449Sobrien
98234449Sobrien2011-03-15  18:15  Christos Zoulas <christos@zoulas.com>
99234449Sobrien
100234449Sobrien	* binary tests on magic entries with masks could spuriously
101234449Sobrien	  get converted to ascii.
102234449Sobrien
103234449Sobrien2011-03-12  18:06  Reuben Thomas <rrt@sc3d.org>
104234449Sobrien
105234449Sobrien	* Improve file.man (remove BUGS, present email addresses consistently).
106234449Sobrien
107234449Sobrien2011-03-07  19:38  Christos Zoulas <christos@zoulas.com>
108234449Sobrien
109234449Sobrien	* add lrzip support (from Ville Skytta)
110234449Sobrien
111234449Sobrien2011-02-10  16:36  Christos Zoulas <christos@zoulas.com>
112234449Sobrien
113234449Sobrien	* fix CDF bounds checking (Guy Helmer)
114234449Sobrien
115234449Sobrien2011-02-10  12:03  Christos Zoulas <christos@zoulas.com>
116234449Sobrien
117234449Sobrien	* add cdf_ctime() that prints a meaningful error when time cannot
118234449Sobrien	  be converted.
119234449Sobrien
120234449Sobrien2011-02-02  20:40  Christos Zoulas <christos@zoulas.com>
121234449Sobrien
122234449Sobrien	* help and version output to stdout.
123234449Sobrien
124234449Sobrien	* When matching softmagic for ascii files, don't just print
125234449Sobrien	  the softmagic classification, keep going and print the
126234449Sobrien	  text classification too. This fixes broken troff files when
127234449Sobrien	  we moved them from keyword recognition to softmagic
128234449Sobrien	  (they stopped printing "with CRLF" etc.)
129234449Sobrien	  Reported by Doug McIlroy.
130234449Sobrien
131234449Sobrien2011-01-16  19:31  Reuben Thomas <rrt@sc3d.org>
132234449Sobrien
133234449Sobrien	* Fix two potential buffer overruns in apprentice_list.
134234449Sobrien
135234449Sobrien2011-01-14  22:33  Reuben Thomas <rrt@sc3d.org>
136234449Sobrien
137234449Sobrien	* New Python binding in pure Python.
138234449Sobrien	* Update libmagic(3).
139234449Sobrien
140234449Sobrien2011-01-06  21:40  Reuben Thomas <rrt@sc3d.org>
141234449Sobrien
142234449Sobrien	* Fix Python bindings (including recent Python 3 compatibility
143234449Sobrien	  update).
144234449Sobrien
145234449Sobrien2011-01-04  18:43  Reuben Thomas <rrt@sc3d.org>
146234449Sobrien
147234449Sobrien	* magic/Makefile.am: make it easier to recover from magic build failures.
148234449Sobrien	* Fix pstring length specifier parsing to avoid generating invalid
149234449Sobrien	  magic files.
150234449Sobrien	* Add pstring length "J" (for "JPEG") to specify that the length
151234449Sobrien	  include itself.
152234449Sobrien	* Fix JPEG comment parsing at last using pstring/HJ!
153234449Sobrien	* Ignore section 5 man pages in doc/.cvsignore.
154234449Sobrien
155234449Sobrien2010-12-22  13:12  Christos Zoulas <christos@zoulas.com>
156234449Sobrien
157234449Sobrien	* Add pstring/BHhLl to specify the type of the length of pascal
158234449Sobrien	  strings.
159234449Sobrien
160234449Sobrien2010-11-26  18:39  Reuben Thomas <rrt@sc3d.org>
161234449Sobrien
162234449Sobrien	* Fix "-e soft": it was ignored when softmagic was called
163234449Sobrien	  during asciimagic.
164234449Sobrien	* Improve comments and use "unsigned char" in tar.h/is_tar.c.
165234449Sobrien
166234449Sobrien2010-11-05  17:26  Reuben Thomas <rrt@sc3d.org>
167234449Sobrien
168234449Sobrien	* Make bug reporting addresses more visible.
169234449Sobrien
170234449Sobrien2010-11-01  18:35  Reuben Thomas <rrt@sc3d.org>
171234449Sobrien
172234449Sobrien	* Add tcl magic from Gustaf Neumann
173234449Sobrien
174234449Sobrien2010-10-24  10:42  Christos Zoulas <christos@zoulas.com>
175234449Sobrien
176234449Sobrien	* Fix the whitespace comparing code (Christopher Chittleborough)
177234449Sobrien
178234449Sobrien2010-10-06  21:05  Christos Zoulas <christos@zoulas.com>
179234449Sobrien
180234449Sobrien	* allow string/t to work (Jan Kaluza)
181234449Sobrien
182234449Sobrien2010-09-20  22:11  Reuben Thomas <rrt@sc3d.org>
183234449Sobrien
184234449Sobrien	* Apply some patches from Ubuntu and Fedora.
185234449Sobrien
186234449Sobrien2010-09-20  21:16  Reuben Thomas <rrt@sc3d.org>
187234449Sobrien
188234449Sobrien	* Apply all patches from Debian package 5.04-6 which have not
189234449Sobrien	  already been applied and are not Debian-specific.
190234449Sobrien
191234449Sobrien2010-09-20  15:24  Reuben Thomas <rrt@sc3d.org>
192234449Sobrien
193234449Sobrien	* Minor security fix to softmagic.c (don't use untrusted
194234449Sobrien	  string as printf format).
195234449Sobrien
196234449Sobrien2010-07-21  12:20  Christos Zoulas <christos@zoulas.com>
197234449Sobrien
198234449Sobrien	* MINGW32 portability from LRN
199234449Sobrien
200234449Sobrien	* Don't warn about escaping magic regex chars when we are in a regex.
201234449Sobrien
202234449Sobrien2010-07-19  10:55  Christos Zoulas <christos@zoulas.com>
203234449Sobrien
204234449Sobrien	* Only try to print prpsinfo for core files. (Jan Kaluza)
205234449Sobrien
206234449Sobrien2010-04-22  12:55  Christos Zoulas <christos@zoulas.com>
207234449Sobrien
208234449Sobrien	* Try more elf offsets for Debian core files.  (Arnaud Giersch)
209234449Sobrien
210234449Sobrien2010-02-20  15:18  Reuben Thomas <rrt@sc3d.org>
211234449Sobrien
212234449Sobrien	* Clarify which sort of CDF we mean.
213234449Sobrien
214234449Sobrien2010-02-14  22:58  Reuben Thomas <rrt@sc3d.org>
215234449Sobrien
216234449Sobrien	* Re-jig Zip file type magic so that unsupported special
217234449Sobrien	  Zip types (those with "mimetype" at offset 30) can be
218234449Sobrien	  recognized.
219234449Sobrien
220234449Sobrien2010-02-02  21:50  Reuben Thomas <rrt@sc3d.org>
221234449Sobrien
222234449Sobrien	* Add support for OCF (EPUB) files (application/epub+zip)
223234449Sobrien
224234449Sobrien2010-01-28  18:25  Christos Zoulas <christos@zoulas.com>
225234449Sobrien
226234449Sobrien	* Fix core-dump from unbound loop:
227234449Sobrien	  https://bugzilla.redhat.com/show_bug.cgi?id=533245
228234449Sobrien
229234449Sobrien2010-01-22  15:45  Christos Zoulas <christos@zoulas.com>
230234449Sobrien
231234449Sobrien	* print proper mime for crystal reports file
232234449Sobrien
233234449Sobrien	* print the last summary information of a cdf document, not the
234234449Sobrien	  first so that nested documents print the right info
235234449Sobrien
236234449Sobrien2010-01-16  18:42  Charles Longeau <chl@tuxfamily.org>
237234449Sobrien
238234449Sobrien	* bring back some fixes from OpenBSD:
239234449Sobrien		- make gcc2 builds file
240234449Sobrien		- fix typos in a magic file comment
241234449Sobrien
242234449Sobrien2009-11-17  18:35  Christos Zoulas <christos@zoulas.com>
243234449Sobrien
244234449Sobrien	* ctime/asctime can return NULL on some OS's although
245234449Sobrien	  they should not (Toshit Antani)
246234449Sobrien
247234449Sobrien2009-09-14  13:49  Christos Zoulas <christos@zoulas.com>
248234449Sobrien
249234449Sobrien	* Centralize magic path handling routines and remove the
250234449Sobrien	  special-casing from file.c so that the python module for
251234449Sobrien	  example comes up with the same magic path (Fixes ~/.magic
252234449Sobrien	  handling) (from Gab)
253234449Sobrien
254234449Sobrien2009-09-11  23:38  Reuben Thomas <rrt@sc3d.org>
255234449Sobrien
256234449Sobrien	* When magic argument is a directory, read the files in
257234449Sobrien	  strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
258234449Sobrien
259234449Sobrien2009-09-11  13:11  Reuben Thomas <rrt@sc3d.org>
260234449Sobrien
261234449Sobrien	* Combine overlapping epoc and psion magic files into one (epoc).
262234449Sobrien
263234449Sobrien	* Add some more EPOC MIME types.
264234449Sobrien
265234449Sobrien2009-08-19  15:55  Christos Zoulas <christos@zoulas.com>
266234449Sobrien
267234449Sobrien	* Fix 3 bugs (From Ian Darwin):
268234449Sobrien	    - file_showstr could move one past the end of the array
269234449Sobrien	    - parse_apple did not nul terminate the string in the overflow case
270234449Sobrien	    - parse_mime truncated the wrong string in the overflow case
271234449Sobrien
272234449Sobrien2009-08-12  12:28  Robert Byrnes  <byrnes@wildpumpkin.net>
273234449Sobrien
274234449Sobrien	* Include Localstuff when compiling magic.
275234449Sobrien
276234449Sobrien2009-07-15  10:05  Christos Zoulas <christos@zoulas.com>
277234449Sobrien
278234449Sobrien	* Fix logic for including mygetopts.h
279234449Sobrien
280234449Sobrien	* Make cdf.c compile again with debugging
281234449Sobrien
282234449Sobrien	* Add the necessary field handling for crystal reports files to work
283234449Sobrien
284234449Sobrien2009-06-23 01:34  Reuben Thomas <rrt@sc3d.org>
285234449Sobrien
286234449Sobrien	* Stop "(if" identifying Lisp files, that's plain dumb!
287234449Sobrien
288234449Sobrien2009-06-09 22:13  Reuben Thomas <rrt@sc3d.org>
289234449Sobrien
290234449Sobrien	* Add a couple of missing MP3 MIME types.
291234449Sobrien
292234449Sobrien2009-05-27 23:00  Reuben Thomas <rrt@sc3d.org>
293234449Sobrien
294234449Sobrien	* Add full range of hash-bang tests for Python and Ruby.
295234449Sobrien
296234449Sobrien	* Add MIME types for Python and Ruby scripts.
297234449Sobrien
298234449Sobrien2009-05-13  10:44  Christos Zoulas <christos@zoulas.com>
299234449Sobrien
300234449Sobrien	* off by one in parsing hw capabilities in elf
301234449Sobrien	  (Cheng Renquan)
302234449Sobrien
303234449Sobrien2009-05-08  13:40  Christos Zoulas <christos@zoulas.com>
304234449Sobrien	
305234449Sobrien	* lint fixes and more from NetBSD
306234449Sobrien
307192350Sdelphij2009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
308192350Sdelphij
309192350Sdelphij	* Avoid null dereference in cdf code (Drew Yao)
310192350Sdelphij
311192350Sdelphij	* More cdf bounds checks and overflow checks
312192350Sdelphij
313192350Sdelphij2009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
314192350Sdelphij
315192350Sdelphij	* Buffer overflow fixes from Drew Yao
316192350Sdelphij
317192350Sdelphij2009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
318192350Sdelphij
319192350Sdelphij	* Fix more cdf lossage. All the documents I have
320192350Sdelphij	  right now print the correct information.
321192350Sdelphij
322192350Sdelphij2009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
323192350Sdelphij
324192350Sdelphij	* don't print \012- separators in the same magic entry 
325192350Sdelphij	  if it consists of multiple magic printing lines.
326192350Sdelphij
327192350Sdelphij2009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
328192350Sdelphij
329192350Sdelphij	* Avoid file descriptor leak in compress code from
330192350Sdelphij	  (Daniel Novotny)
331192350Sdelphij
332192350Sdelphij2009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
333192350Sdelphij
334192350Sdelphij	* Allow escaping of relation characters, so that we can say \^[A-Z]
335192350Sdelphij	  and the ^ is not eaten as a relation char.
336192350Sdelphij
337192350Sdelphij	* Fix troff and fortran to their previous glory using
338192350Sdelphij	  regex. This was broken since their removel from ascmagic.
339192350Sdelphij
340192350Sdelphij2009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
341192350Sdelphij
342192350Sdelphij	* don't use strlen in strndup() (Toby Peterson)
343192350Sdelphij
344192350Sdelphij2009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
345192350Sdelphij
346192350Sdelphij	* avoid c99 syntax.
347192350Sdelphij
348192350Sdelphij2009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
349192350Sdelphij
350192350Sdelphij	* make the cdf code use the buffer first if available,
351192350Sdelphij	  and then the fd code.
352192350Sdelphij
353192350Sdelphij2009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
354192350Sdelphij
355192350Sdelphij	* look for struct option to determine if getopt.h is usable for IRIX.
356192350Sdelphij
357192350Sdelphij	* sanitize cdf document strings
358192350Sdelphij
359192350Sdelphij2009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
360192350Sdelphij
361192350Sdelphij	* fix OS/2 warnings.
362192350Sdelphij
363191771Sobrien2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
364191771Sobrien
365191771Sobrien	* fix initial offset calculation for non 4K sector files
366191771Sobrien
367191771Sobrien	* add loop limits to avoid DoS attacks by constructing
368191771Sobrien	  looping sector references.
369191771Sobrien
370191771Sobrien2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
371191771Sobrien
372191771Sobrien	* fix memory botches on cdf file parsing.
373191771Sobrien
374191771Sobrien	* exit with non-zero value for any error, not just for the last
375191771Sobrien	  file processed.
376191771Sobrien
377191771Sobrien2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
378191771Sobrien
379191771Sobrien	* Replace all str{cpy,cat} functions with strl{cpy,cat}
380191771Sobrien	* Ensure that strl{cpy,cat} are included in libmagic,
381191771Sobrien	  as needed.
382191771Sobrien
383191771Sobrien2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
384191771Sobrien
385191771Sobrien	* Handle ID3 format files.
386191771Sobrien
387191771Sobrien2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
388191771Sobrien
389191771Sobrien	* Fix --mime, --mime-type and --mime-encoding under new scheme.
390191771Sobrien
391191771Sobrien	* Rename "ascii" to "text" and add "encoding" test.
392191771Sobrien
393191771Sobrien	* Return a precise ("utf-16le" or "utf-16be") MIME charset for
394191771Sobrien	  UTF-16.
395191771Sobrien
396191771Sobrien	* Fix error in comment caused by automatic indentation adding
397191771Sobrien	  words!
398191771Sobrien
399191771Sobrien2008-11-06 10:35  Christos Zoulas <christos@astron.com>
400191771Sobrien
401191771Sobrien	* use memchr instead of strchr because the string
402191771Sobrien	  might not be NUL terminated (Scott MacVicar)
403191771Sobrien
404191771Sobrien2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
405191771Sobrien
406191771Sobrien	* Fix a printf with a non-literal format string.
407191771Sobrien
408191771Sobrien	* Fix formatting and punctuation of help for "--apple".
409191771Sobrien
410191771Sobrien2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
411191771Sobrien
412191771Sobrien	* Correct words counts in comments of struct magic.
413191771Sobrien
414191771Sobrien	* Fix handle_annotation to allow both Apple and MIME types to be
415191771Sobrien	  printed, and to return correct code if MIME type is
416191771Sobrien	  printed (1, not 0) or if there's an error (-1 not 1).
417191771Sobrien
418191771Sobrien	* Fix output of charset for MIME type (precede with semi-colon;
419191771Sobrien	  fixes Debian bug #501460).
420191771Sobrien
421191771Sobrien	* Fix potential attacks via conversion specifications in magic
422191771Sobrien	  strings.
423191771Sobrien
424191771Sobrien	* Add a FIXME for Debian bug #488562 (magic files should be
425191771Sobrien	  read in a defined order, by sorting the names).
426191771Sobrien
427191771Sobrien2008-10-18 16:45  Christos Zoulas <christos@astron.com>
428191771Sobrien
429191771Sobrien	* Added APPLE file creator/type
430191771Sobrien
431191771Sobrien2008-10-12 10:20  Christos Zoulas <christos@astron.com>
432191771Sobrien
433191771Sobrien	* Added CDF parsing
434191771Sobrien
435191771Sobrien2008-10-09 16:40  Christos Zoulas <christos@astron.com>
436191771Sobrien
437191771Sobrien	* filesystem and msdos patches (Joerg Jenderek)
438191771Sobrien
439191771Sobrien2008-10-09 13:20  Christos Zoulas <christos@astron.com>
440191771Sobrien
441191771Sobrien	* correct --exclude documentation issues: remove troff and fortran
442191771Sobrien	  and rename "token" to "tokens". (Randy McMurchy)
443191771Sobrien
444191771Sobrien2008-10-01 10:30  Christos Zoulas <christos@astron.com>
445191771Sobrien
446191771Sobrien	* Read ~/.magic in addition to the default magic file not instead
447191771Sobrien	  of, as documented in the man page.
448191771Sobrien
449191771Sobrien2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
450191771Sobrien
451191771Sobrien	* Comment out graphviz patterns, as they match too many files.
452191771Sobrien
453186691Sobrien2008-08-30 12:54  Christos Zoulas <christos@astron.com>
454175296Sobrien
455186691Sobrien	* Don't eat trailing \n in magic enties.
456186691Sobrien
457186691Sobrien	* Cast defines to allow compilation using a c++ compiler.
458186691Sobrien
459191771Sobrien2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
460191771Sobrien
461191771Sobrien	* Add text/x-lua MIME type for Lua scripts.
462191771Sobrien
463191771Sobrien	* Escape { in regex in graphviz patterns.
464191771Sobrien
465186691Sobrien2008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
466186691Sobrien
467186691Sobrien	* Add MIME types for special files.
468186691Sobrien
469186691Sobrien	* Use access to give more accurate information for files that
470186691Sobrien	  can't be opened.
471186691Sobrien
472186691Sobrien	* Add a TODO list.
473186691Sobrien
474186691Sobrien2008-07-02 11:15  Christos Zoulas  <christos@astron.com>
475186691Sobrien
476186691Sobrien	* add !:strength op to adjust magic strength (experimental)
477186691Sobrien
478186691Sobrien2008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
479186691Sobrien
480186691Sobrien	* Fix automake error in configure.ac.
481186691Sobrien
482186691Sobrien	* Add MIME type for Psion Sketch files.
483186691Sobrien
484186691Sobrien2008-06-05 08:59  Christos Zoulas  <christos@astron.com>
485186691Sobrien
486186691Sobrien	* Don't print warnings about bad namesize in stripped
487186691Sobrien	  binaries with PT_NOTE is still there, and the actual
488186691Sobrien	  note is gone (Jakub Jelinek)
489186691Sobrien
490186691Sobrien2008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
491186691Sobrien
492186691Sobrien	* magic/Magdir/elf:
493186691Sobrien	  Note invalid byte order for little-endian SPARC32PLUS.
494186691Sobrien	  Add SPARC V9 vendor extensions and memory model.
495186691Sobrien
496186691Sobrien	* src/elfclass.h:
497186691Sobrien	  Pass target machine to doshn (for Solaris hardware capabilities).
498186691Sobrien
499186691Sobrien	* src/readelf.c (doshn):
500186691Sobrien	  Add support for Solaris hardware/software capabilities.
501186691Sobrien
502186691Sobrien	* src/readelf.h:
503186691Sobrien	  Ditto.
504186691Sobrien
505186691Sobrien	* src/vasprintf.c (dispatch):
506186691Sobrien	  Add support for ll modifier.
507186691Sobrien
508186691Sobrien2008-05-16 10:25  Christos Zoulas  <christos@astron.com>
509186691Sobrien
510186691Sobrien	* Fix compiler warnings.
511186691Sobrien
512186691Sobrien	* remove stray printf, and fix a vprintf bug. (Martin Dorey)
513186691Sobrien
514186691Sobrien2008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
515186691Sobrien
516191771Sobrien	* src/Makefile.am:
517186691Sobrien	  Ensure that getopt_long and [v]asprintf are included in libmagic,
518186691Sobrien	  as needed.
519186691Sobrien
520186691Sobrien	  Remove unnecessary EXTRA_DIST.
521186691Sobrien
522191771Sobrien	* src/Makefile.in:
523186691Sobrien	  Rerun automake.
524186691Sobrien
525191771Sobrien	* src/vasprintf.c (dispatch):
526186691Sobrien	  Fix variable precision bug: be sure to step past '*'.
527186691Sobrien
528191771Sobrien	* src/vasprintf.c (core):
529186691Sobrien	  Remove unreachable code.
530186691Sobrien
531191771Sobrien	* src/apprentice.c (set_test_type):
532186691Sobrien	  Add cast to avoid compiler warning.
533186691Sobrien
534186691Sobrien2008-04-22 23:45  Christos Zoulas  <christos@astron.com>
535186691Sobrien
536186691Sobrien	* Add magic submission guidelines (Abel Cheung)
537186691Sobrien
538186691Sobrien	* split msdos and windows magic (Abel Cheung)
539186691Sobrien
540186691Sobrien2008-04-04 11:00  Christos Zoulas  <christos@astron.com>
541186691Sobrien
542191771Sobrien	* >= <= is not supported, so fix the magic and warn about it.
543186691Sobrien	  reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
544186691Sobrien
545186691Sobrien2008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
546186691Sobrien
547191771Sobrien	* src/readelf.c (donote):
548186691Sobrien	  ELF core file command name/line bug fixes and enhancements:
549186691Sobrien
550186691Sobrien	  Try larger offsets first to avoid false matches
551186691Sobrien	  from earlier data that happen to look like strings;
552186691Sobrien	  this primarily affected SunOS 5.x 32-bit Intel core files.
553186691Sobrien
554186691Sobrien	  Add support for command line (instead of just short name)
555186691Sobrien	  for SunOS 5.x.
556186691Sobrien
557186691Sobrien	  Add information about NT_PSINFO for SunOS 5.x.
558186691Sobrien
559186691Sobrien	  Only trim whitespace from end of command line.
560186691Sobrien
561186691Sobrien2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
562186691Sobrien
563186691Sobrien	* Change strength of ! from MULT to 0, as it matches almost
564186691Sobrien		  anything (Reuben Thomas)
565186691Sobrien
566186691Sobrien	* Debian fixes (Reuben Thomas)
567186691Sobrien
568186691Sobrien2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
569186691Sobrien
570186691Sobrien	* Clarify UTF-8 BOM message (Reuben Thomas)
571186691Sobrien
572186691Sobrien	* Add HTML comment to token list in names.h
573191771Sobrien
574186691Sobrien2007-02-04 15:50 Christos Zoulas <christos@astron.com>
575186691Sobrien
576186691Sobrien	* Debian fixes (Reuben Thomas)
577186691Sobrien
578186691Sobrien2007-02-04 11:31 Christos Zoulas <christos@astron.com>
579186691Sobrien
580186691Sobrien	* !:mime annotations in magic files (Reuben Thomas)
581186691Sobrien
582186691Sobrien2007-01-29 15:35 Christos Zoulas <christos@astron.com>
583186691Sobrien
584186691Sobrien	* zero out utime/utimes structs (Gavin Atkinson)
585186691Sobrien
586186691Sobrien2007-01-26 13:45 Christos Zoulas <christos@astron.com>
587186691Sobrien
588186691Sobrien	* reduce writable data from Diego "Flameeyes" Petten
589186691Sobrien
590186691Sobrien2007-12-28 15:06 Christos Zoulas <christos@astron.com>
591186691Sobrien
592175296Sobrien	* strtof detection
593175296Sobrien
594175296Sobrien	* remove bogus regex magic that could cause a DoS
595175296Sobrien
596175296Sobrien	* better mismatch version message
597175296Sobrien
598186691Sobrien2007-12-27 11:35 Christos Zoulas <christos@astron.com>
599175296Sobrien
600175296Sobrien	* bring back some fixes from OpenBSD
601175296Sobrien
602175296Sobrien	* treat ELF dynamic objects as executables
603175296Sobrien
604175296Sobrien	* fix gcc warnings
605175296Sobrien
606186691Sobrien2007-12-01 19:55 Christos Zoulas <christos@astron.com>
607175296Sobrien
608175296Sobrien	* make sure we have zlib.h and libz to compile the builtin
609175296Sobrien	  decompress code
610175296Sobrien
611186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
612175296Sobrien
613191771Sobrien 	* float and double magic support (Behan Webster)
614175296Sobrien
615186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
616175296Sobrien
617175296Sobrien	* Convert fortran to a soft test (Reuben Thomas)
618175296Sobrien
619186691Sobrien2007-10-23  5:25 Christos Zoulas <christos@astron.com>
620175296Sobrien
621175296Sobrien	* Add --with-filename, and --no-filename (Reuben Thomas)
622175296Sobrien
623186691Sobrien2007-10-23  3:59 Christos Zoulas <christos@astron.com>
624175296Sobrien
625175296Sobrien	* Rest of the mime split (Reuben Thomas)
626175296Sobrien
627175296Sobrien	* Make usage message generated from the flags so that
628175296Sobrien	  they stay consistent (Reuben Thomas)
629175296Sobrien
630186691Sobrien2007-10-20  3:06 Christos Zoulas <christos@astron.com>
631175296Sobrien
632175296Sobrien	* typo in comment, missing ifdef QUICK, remove unneeded code
633175296Sobrien		(Charles Longeau)
634175296Sobrien
635186691Sobrien2007-10-17  3:33 Christos Zoulas <christos@astron.com>
636175296Sobrien
637175296Sobrien	* Fix problem printing -\012 in some entries
638175296Sobrien
639175296Sobrien	* Separate magic type and encoding flags (Reuben Thomas)
640175296Sobrien
641186691Sobrien2007-10-09  3:55 Christos Zoulas <christos@astron.com>
642175296Sobrien
643175296Sobrien	* configure fix for int64 and strndup (Reuben Thomas)
644175296Sobrien
645186691Sobrien2007-09-26  4:45 Christos Zoulas <christos@astron.com>
646175296Sobrien
647175296Sobrien	* Add magic_descriptor() function.
648175296Sobrien
649175296Sobrien	* Fix regression in elf reading code where the core name was
650175296Sobrien	  not being printed.
651175296Sobrien
652175296Sobrien	* Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
653175296Sobrien
654186691Sobrien2007-08-19  6:30 Christos Zoulas <christos@astron.com>
655175296Sobrien
656175296Sobrien	* Make mime format consistent so that it can
657175296Sobrien	  be easily parsed:
658175296Sobrien	      mimetype [charset=character-set] [encoding=encoding-mime-type]
659175296Sobrien
660191771Sobrien	  Remove spurious extra text from some MIME type printouts
661175296Sobrien	  (mostly in is_tar).
662175296Sobrien
663175296Sobrien	  Fix one case where -i produced nothing at all (for a 1-byte file,
664175296Sobrien	  which is now classed as application/octet-stream).
665175296Sobrien
666175296Sobrien	  Remove 7/8bit classifications, since they were arbitrary
667175296Sobrien	  and not based on the file data.
668175296Sobrien
669175296Sobrien	  This work was done by Reuben Thomas
670175296Sobrien
671186691Sobrien2007-05-24 10:00 Christos Zoulas <christos@astron.com>
672169962Sobrien
673169962Sobrien	* Fix another integer overflow (Colin Percival)
674169962Sobrien
675186691Sobrien2007-03-26 13:58 Christos Zoulas <christos@astron.com>
676169962Sobrien
677169962Sobrien	* make sure that all of struct magic_set is initialized appropriately
678169962Sobrien	  (Brett)
679169962Sobrien
680186691Sobrien2007-03-25 17:44 Christos Zoulas <christos@astron.com>
681169962Sobrien
682169962Sobrien	* reset left bytes in the buffer (Dmitry V. Levin)
683169962Sobrien
684169962Sobrien	* compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
685169962Sobrien	  (Peter Avalos)
686169962Sobrien
687186691Sobrien2007-03-15 10:51 Christos Zoulas <christos@astron.com>
688169962Sobrien
689169962Sobrien	* fix fortran and nroff reversed tests (Dmitry V. Levin)
690191771Sobrien
691169962Sobrien	* fix exclude option (Dmitry V. Levin)
692169962Sobrien
693186691Sobrien2007-02-08 17:30 Christos Zoulas <christos@astron.com>
694169962Sobrien
695169962Sobrien	* fix integer underflow in file_printf which can lead to
696169962Sobrien	  to exploitable heap overflow (Jean-Sebastien Guay-Lero)
697169962Sobrien
698186691Sobrien2007-02-05 11:35 Christos Zoulas <christos@astron.com>
699169962Sobrien
700169962Sobrien	* make socket/pipe reading more robust
701169962Sobrien
702186691Sobrien2007-01-25 16:01 Christos Zoulas <christos@astron.com>
703169962Sobrien
704169962Sobrien	* Centralize all the tests in file_buffer.
705169962Sobrien
706169962Sobrien	* Add exclude flag.
707169962Sobrien
708169962Sobrien2007-01-18 05:29 Anon Ymous <do@not.spam.me>
709191771Sobrien
710169962Sobrien	* Move the "type" detection code from parse() into its own table
711169962Sobrien	  driven routine.  This avoids maintaining multiple lists in
712169962Sobrien	  file.h.
713169962Sobrien
714169962Sobrien	* Add an optional conditional field (ust before the type field).
715169962Sobrien	  This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
716169962Sobrien	  likely to go away.
717191771Sobrien
718169962Sobrien2007-01-16 23:24 Anon Ymous <do@not.spam.me>
719169962Sobrien
720169962Sobrien	* Fix an initialization bug in check_mem().
721169962Sobrien
722169962Sobrien2007-01-16 14:58 Anon Ymous <do@not.spam.me>
723169962Sobrien
724169962Sobrien	* Add a "default" type to print a message if nothing previously
725169962Sobrien	  matched at that level or since the last default at that
726169962Sobrien	  level.  This is useful for setting up switch-like statements.
727169962Sobrien	  It can also be used to do if/else constructions without a
728169962Sobrien	  redundant second test.
729169962Sobrien
730169962Sobrien	* Fix the "x" special case test so that one can test for that
731169962Sobrien	  string with "=x".
732169962Sobrien
733169962Sobrien	* Allow "search" to search the entire buffer if the "/N"
734169962Sobrien	  search count is missing.
735169962Sobrien
736169962Sobrien	* Make "regex" work!  It now starts its search at the
737169962Sobrien	  specified offset and takes an (optional) "/N" line count to
738169962Sobrien	  specify the search range; otherwise it searches to the end
739169962Sobrien	  of the file.  The match is now grabbed correctly for format
740169962Sobrien	  strings and the offset set to the end of the match.
741169962Sobrien
742169962Sobrien	* Add a "/s" flag to "regex" and "search" to set the offset to
743169962Sobrien	  the start of the match.  By default the offset is set to the
744169962Sobrien	  end of the match, as it is with other tests.  This is mostly
745169962Sobrien	  useful for "regex".
746169962Sobrien
747169962Sobrien	* Make "search", "string" and "pstring" use the same
748169962Sobrien	  file_strncmp() routine so that they support the same flags;
749169962Sobrien	  "bestring16" and "lestring16" call the same routine, but
750169962Sobrien	  with flags = 0.  Also add a "/C" flag (in analogy to "/c")
751169962Sobrien	  to ignore the case on uppercase (lowercase) characters in
752169962Sobrien	  the test string.
753169962Sobrien
754169962Sobrien	* Strict adherence to C style string escapes.  A warnings are
755169962Sobrien	  printed when compiling.  Note: previously "\a" was
756169962Sobrien	  incorrectly translated to 'a' instead of an <alert> (i.e.,
757169962Sobrien	  BELL, typically 0x07).
758169962Sobrien
759169962Sobrien	* Make this compile with "-Wall -Wextra" and all the warning
760169962Sobrien	  flags used with WARNS=4 in the NetBSD source.  Also make it
761169962Sobrien	  pass lint.
762169962Sobrien
763169962Sobrien	* Many "cleanups" and hopefully not too many new bugs!
764169962Sobrien
765169962Sobrien2007-01-16 14:56 Anon Ymous <do@not.spam.me>
766169962Sobrien
767169962Sobrien	* make several more files compile with gcc warnings
768169962Sobrien	  on and also make them pass lint.
769169962Sobrien
770169962Sobrien2007-01-16 14:54 Anon Ymous <do@not.spam.me>
771169962Sobrien
772169962Sobrien	* fix a puts()/putc() usage goof in file.c
773169962Sobrien
774169962Sobrien	* make file.c compile with gcc warnings and pass lint
775169962Sobrien
776186691Sobrien2006-12-11 16:49 Christos Zoulas <christos@astron.com>
777169942Sobrien
778169942Sobrien	* fix byteswapping issue
779169942Sobrien
780169942Sobrien	* report the number of bytes we tried to
781169942Sobrien	  allocate when allocation fails
782169942Sobrien
783169942Sobrien	* add a few missed cases in the strength routine
784169942Sobrien
785186691Sobrien2006-12-08 16:32 Christos Zoulas <christos@astron.com>
786169942Sobrien
787169942Sobrien	* store and print the line number of the magic
788191771Sobrien	  entry for debugging.
789169942Sobrien
790169942Sobrien	* if the magic entry did not print anything,
791169942Sobrien	  don't treat it as a match
792169942Sobrien
793169942Sobrien	* change the magic strength algorithm to take
794169942Sobrien	  into account the relationship op.
795169942Sobrien
796169942Sobrien	* fix a bug in search where we could accidentally
797169942Sobrien	  return a match.
798169942Sobrien
799169942Sobrien	* propagate the error return from match to
800169942Sobrien	  file_softmagic.
801169942Sobrien
802186691Sobrien2006-11-25 13:35 Christos Zoulas <christos@astron.com>
803191771Sobrien
804169942Sobrien	* Don't store the current offset in the magic
805169942Sobrien	  struct, because it needs to be restored and
806169942Sobrien	  it was not done properly all the time. Bug
807169942Sobrien	  found by: Arkadiusz Miskiewicz
808169942Sobrien
809169942Sobrien	* Fix problem in the '\0' separator; and don't
810169942Sobrien	  print it as an additional separator; print
811169942Sobrien	  it as the only separator.
812169942Sobrien
813186691Sobrien2006-11-17 10:51 Christos Zoulas <christos@astron.com>
814169942Sobrien
815169942Sobrien	* Added a -0 option to print a '\0' separator
816169942Sobrien	  Etienne Buira <etienne.buira@free.fr>
817169942Sobrien
818186691Sobrien2006-10-31 15:14 Christos Zoulas <christos@astron.com>
819169942Sobrien
820169942Sobrien	* Check offset before copying (Mike Frysinger)
821169942Sobrien
822169942Sobrien	* merge duplicated code
823169942Sobrien
824169942Sobrien	* add quad date support
825169942Sobrien
826169942Sobrien	* make sure that we nul terminate desc (Ryoji Kanai)
827169942Sobrien
828169942Sobrien	* don't process elf notes multiple times
829169942Sobrien
830169942Sobrien	* allow -z to report empty compressed files
831169942Sobrien
832169942Sobrien	* use calloc to initialize the ascii buffers (Jos van den Oever)
833169942Sobrien
834186691Sobrien2006-06-08 11:11 Christos Zoulas <christos@astron.com>
835169942Sobrien
836169942Sobrien	* QNX fixes (Mike Gorchak)
837169942Sobrien
838169942Sobrien	* Add quad support.
839169942Sobrien
840169942Sobrien	* FIFO checks (Dr. Werner Fink)
841169942Sobrien
842169942Sobrien	* Linux ELF fixes (Dr. Werner Fink)
843169942Sobrien
844169942Sobrien	* Magic format checks (Dr. Werner Fink)
845169942Sobrien
846169942Sobrien	* Magic format function improvent (Karl Chen)
847169942Sobrien
848186691Sobrien2006-05-03 11:11 Christos Zoulas <christos@astron.com>
849169942Sobrien
850169942Sobrien	* Pick up some elf changes and some constant fixes from SUSE
851169942Sobrien
852169942Sobrien	* Identify gnu tar vs. posix tar
853169942Sobrien
854169942Sobrien	* When keep going, don't print spurious newlines (Radek Vok�l)
855169942Sobrien
856186691Sobrien2006-04-01 12:02 Christos Zoulas <christos@astron.com>
857169942Sobrien
858169942Sobrien	* Use calloc instead of malloc (Mike Frysinger)
859169942Sobrien
860169942Sobrien	* Fix configure script to detect wctypes.h (Mike Frysinger)
861169942Sobrien
862186691Sobrien2006-03-02 16:06 Christos Zoulas <christos@astron.com>
863159764Sobrien
864159764Sobrien	* Print empty if the file is (Mike Frysinger)
865159764Sobrien
866159764Sobrien	* Don't try to read past the end of the buffer (Mike Frysinger)
867159764Sobrien
868159764Sobrien	* Sort magic entries by strength [experimental]
869159764Sobrien
870186691Sobrien2005-11-29 13:26 Christos Zoulas <christos@astron.com>
871159764Sobrien
872159764Sobrien	* Use iswprint() to convert the output string.
873159764Sobrien	    (Bastien Nocera)
874159764Sobrien
875186691Sobrien2005-10-31 8:54 Christos Zoulas <christos@astron.com>
876159764Sobrien
877159764Sobrien	* Fix regression where the core info was not completely processed
878159764Sobrien	    (Radek Vok�l)
879159764Sobrien
880186691Sobrien2005-10-20 11:15 Christos Zoulas <christos@astron.com>
881159764Sobrien
882159764Sobrien	* Middle Endian magic (Diomidis Spinellis)
883159764Sobrien
884186691Sobrien2005-10-17 11:15 Christos Zoulas <christos@astron.com>
885159764Sobrien
886159764Sobrien	* Open with O_BINARY for CYGWIN (Corinna Vinschen)
887159764Sobrien
888159764Sobrien	* Don't close stdin (Arkadiusz Miskiewicz)
889159764Sobrien
890159764Sobrien	* Look for note sections in non executables.
891159764Sobrien
892186691Sobrien2005-09-20 13:33 Christos Zoulas <christos@astron.com>
893191771Sobrien
894159764Sobrien	* Don't print SVR4 Style in core files multiple times
895159764Sobrien	    (Radek Vok�l)
896159764Sobrien
897186691Sobrien2005-08-27 04:09 Christos Zoulas <christos@astron.com>
898159764Sobrien
899159764Sobrien	* Cygwin changes Corinna Vinschen
900159764Sobrien
901186691Sobrien2005-08-18 09:53 Christos Zoulas <christos@astron.com>
902159764Sobrien
903159764Sobrien	* Remove erroreous mention of /etc/magic in the file man page
904191771Sobrien	  This is gentoo bug 101639. (Mike Frysinger)
905159764Sobrien
906191771Sobrien	* Cross-compile support and detection (Mike Frysinger)
907159764Sobrien
908186691Sobrien2005-08-12 10:17 Christos Zoulas <christos@astron.com>
909159764Sobrien
910159764Sobrien	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
911159764Sobrien	  is set.
912159764Sobrien
913186691Sobrien2005-07-29 13:57 Christos Zoulas <christos@astron.com>
914159764Sobrien
915159764Sobrien	* Avoid search and regex buffer overflows (Kelledin)
916159764Sobrien
917186691Sobrien2005-07-12 11:48 Christos Zoulas <christos@astron.com>
918159764Sobrien
919159764Sobrien	* Provide stub implementations for {v,}nsprintf() for older
920159764Sobrien	  OS's that don't have them.
921159764Sobrien	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
922159764Sobrien	  to AC_TYPE_MBSTATE_T.
923159764Sobrien
924186691Sobrien2005-06-25 11:48 Christos Zoulas <christos@astron.com>
925159764Sobrien
926159764Sobrien	* Dynamically allocate the string buffers and make the
927159764Sobrien	  default read size 256K.
928159764Sobrien
929159764Sobrien2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
930159764Sobrien
931159764Sobrien	* Dragonfly ELF note support
932159764Sobrien
933159764Sobrien2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
934159764Sobrien
935159764Sobrien	* Avoid NULL pointer dereference in time conversion.
936159764Sobrien
937159764Sobrien2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
938191771Sobrien
939159764Sobrien	* Add indirect magic offset support, and search mode.
940159764Sobrien
941159764Sobrien2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
942159764Sobrien
943191771Sobrien	* src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
944191771Sobrien	  If a CRLF text file happens to have CR at offset HOWMANY - 1
945191771Sobrien	  (currently 0xffff), it should not be counted as CR line
946191771Sobrien	  terminator.
947191771Sobrien	  If a line has length exactly MAXLINELEN, it should not yet be
948191771Sobrien	  treated as a ``very long line'', as MAXLINELEN is ``longest sane
949191771Sobrien	  line length''.
950191771Sobrien	  With CRLF, the line length was not computed correctly, and even
951191771Sobrien	  lines of length MAXLINELEN - 1 were treated as ``very long''.
952159764Sobrien
953186691Sobrien2004-12-07 14:15  Christos Zoulas  <christos@astron.com>
954159764Sobrien
955159764Sobrien	* bzip2 needs a lot of input buffer space on some files
956159764Sobrien	  before it can begin uncompressing. This makes file -z
957159764Sobrien	  fail on some bz2 files. Fix it by giving it a copy of
958159764Sobrien	  the file descriptor to read as much as it wants if we
959186691Sobrien	  have access to it. <christos@astron.com>
960159764Sobrien
961186691Sobrien2004-11-24 12:39  Christos Zoulas  <christos@astron.com>
962133359Sobrien
963139368Sobrien	* Stack smash fix, and ELF more conservative reading.
964139368Sobrien	  Jakub Bogusz <qboosh@pld-linux.org>
965139368Sobrien
966186691Sobrien2004-11-20 18:50  Christos Zoulas  <christos@astron.com>
967139368Sobrien
968139368Sobrien	* New FreeBSD version parsing code:
969139368Sobrien	  Jon Noack <noackjr@alumni.rice.edu>
970139368Sobrien
971186691Sobrien	* Hackish support for ucs16 strings <christos@astron.com>
972139368Sobrien
973186691Sobrien2004-11-13 03:07  Christos Zoulas  <christos@astron.com>
974139368Sobrien
975139368Sobrien	* print the file name and line number in syntax errors.
976139368Sobrien
977186691Sobrien2004 10-12 10:50  Christos Zoulas  <christos@astron.com>
978139368Sobrien
979139368Sobrien	* Fix stack overwriting on 0 length strings: Tim Waugh
980139368Sobrien	    <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
981139368Sobrien
982186691Sobrien2004-09-27 11:30  Christos Zoulas  <christos@astron.com>
983139368Sobrien
984139368Sobrien	* Remove 3rd and 4th copyright clause; approved by Ian Darwin.
985139368Sobrien
986191771Sobrien	* Fix small memory leaks; caught by: Tamas Sarlos
987139368Sobrien	    <stamas@csillag.ilab.sztaki.hu>
988139368Sobrien
989186691Sobrien2004-07-24 16:33  Christos Zoulas  <christos@astron.com>
990133359Sobrien
991191771Sobrien	* magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
992133359Sobrien
993133359Sobrien	* FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
994133359Sobrien
995133359Sobrien	* utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
996133359Sobrien
997133359Sobrien  	* errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
998133359Sobrien
999186691Sobrien2004-04-12 10:55  Christos Zoulas  <christos@astron.com>
1000133359Sobrien
1001133359Sobrien	* make sure that magic formats match magic types during compilation
1002133359Sobrien
1003133359Sobrien	* fix broken sgi magic file
1004133359Sobrien
1005186691Sobrien2004-04-06 20:36  Christos Zoulas  <christos@astron.com>
1006133359Sobrien
1007133359Sobrien	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
1008133359Sobrien
1009133359Sobrien	* magic fixes
1010133359Sobrien
1011186691Sobrien2004-03-22 15:25  Christos Zoulas  <christos@astron.com>
1012133359Sobrien
1013133359Sobrien	* Lots of mime fixes
1014133359Sobrien	  (Joerg Ostertag) <ostertag@rechengilde.de>
1015133359Sobrien
1016133359Sobrien	* FreeBSD ELF version handling
1017133359Sobrien	  (Edwin Groothuis) <edwin@mavetju.org>
1018133359Sobrien
1019133359Sobrien	* correct cleanup in all cases; don't just close the file.
1020186691Sobrien	  (Christos Zoulas) <christos@astron.com>
1021133359Sobrien
1022133359Sobrien	* add gettext message catalogue support
1023133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1024133359Sobrien
1025133359Sobrien	* better printout for unreadable files
1026133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1027133359Sobrien
1028133359Sobrien	* compensate for missing MAXPATHLEN
1029133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1030133359Sobrien
1031133359Sobrien	* add wide character string length computation
1032133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1033133359Sobrien
1034133359Sobrien	* Avoid infinite loops caused by bad elf alignments
1035133359Sobrien	  or name and description note sizes. Reported by
1036133359Sobrien	  (Mikael Magnusson) <mmikael@comhem.se>
1037133359Sobrien
1038186691Sobrien2004-03-09 13:55  Christos Zoulas  <christos@astron.com>
1039133359Sobrien
1040133359Sobrien	* Fix possible memory leak on error and add missing regfree
1041133359Sobrien	  (Dmitry V. Levin) <ldv@altlinux.org>
1042133359Sobrien
1043186691Sobrien2003-12-23 12:12  Christos Zoulas  <christos@astron.com>
1044133359Sobrien
1045133359Sobrien	* fix -k flag (Maciej W. Rozycki)
1046133359Sobrien
1047186691Sobrien2003-11-18 14:10  Christos Zoulas  <christos@astron.com>
1048133359Sobrien
1049133359Sobrien	* Try to give us much info as possible on corrupt elf files.
1050133359Sobrien	  (Willy Tarreau) <willy@w.ods.org>
1051133359Sobrien	* Updated python bindings (Brett Funderburg)
1052133359Sobrien	   <brettf@deepfile.com>
1053133359Sobrien
1054186691Sobrien2003-11-11 15:03  Christos Zoulas  <christos@astron.com>
1055133359Sobrien
1056133359Sobrien	* Include file.h first, because it includes config.h
1057133359Sobrien	  breaks largefile test macros otherwise.
1058133359Sobrien	  (Paul Eggert <eggert@CS.UCLA.EDU> via
1059133359Sobrien	   Lars Hecking <lhecking@nmrc.ie>)
1060133359Sobrien
1061186691Sobrien2003-10-14 21:39  Christos Zoulas  <christos@astron.com>
1062133359Sobrien
1063133359Sobrien	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
1064133359Sobrien	* Don't lookup past the end of the buffer
1065133359Sobrien	  (Chad Hanson) <chanson@tcs-sec.com>
1066133359Sobrien	* Add MAGIC_ERROR and api on magic_errno()
1067133359Sobrien
1068186691Sobrien2003-10-08 12:40  Christos Zoulas  <christos@astron.com>
1069133359Sobrien
1070133359Sobrien	* handle error conditions from compile as fatal
1071133359Sobrien	  (Antti Kantee) <pooka@netbsd.org>
1072133359Sobrien	* handle magic filename parsing sanely
1073133359Sobrien	* more magic fixes.
1074133359Sobrien	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
1075133359Sobrien	* describe magic file handling
1076133359Sobrien	  (Bryan Henderson) <bryanh@giraffe-data.com>
1077133359Sobrien
1078186691Sobrien2003-09-12 15:09  Christos Zoulas  <christos@astron.com>
1079133359Sobrien
1080133359Sobrien	* update magic files.
1081133359Sobrien	* remove largefile support from file.h; it breaks things on most OS's
1082133359Sobrien
1083186691Sobrien2003-08-10 10:25  Christos Zoulas  <christos@astron.com>
1084133359Sobrien
1085133359Sobrien	* fix unmapping'ing of mmaped files.
1086133359Sobrien
1087186691Sobrien2003-07-10 12:03  Christos Zoulas  <christos@astron.com>
1088133359Sobrien
1089133359Sobrien	* don't exit with -1 on error; always exit 1 (Marty Leisner)
1090133359Sobrien	* restore utimes code.
1091133359Sobrien
1092186691Sobrien2003-06-10 17:03  Christos Zoulas  <christos@astron.com>
1093133359Sobrien
1094133359Sobrien	* make sure we don't access uninitialized memory.
1095133359Sobrien	* pass lint
1096133359Sobrien	* #ifdef __cplusplus in magic.h
1097133359Sobrien
1098186691Sobrien2003-05-25 19:23  Christos Zoulas  <christos@astron.com>
1099133359Sobrien
1100133359Sobrien	* rename cvs magic file to revision to deal with
1101133359Sobrien	  case insensitive filesystems.
1102133359Sobrien
1103186691Sobrien2003-05-23 17:03  Christos Zoulas  <christos@astron.com>
1104133359Sobrien
1105133359Sobrien	* documentation fixes from Michael Piefel <piefel@debian.org>
1106133359Sobrien	* magic fixes (various)
1107133359Sobrien	* revert basename magic in .mgc name determination
1108133359Sobrien	* buffer protection in uncompress,
1109133359Sobrien	  signness issues,
1110133359Sobrien	  close files
1111133359Sobrien	  Maciej W. Rozycki <macro@ds2.pg.gda.pl
1112133359Sobrien
1113186691Sobrien2003-04-21 20:12  Christos Zoulas  <christos@astron.com>
1114133359Sobrien
1115133359Sobrien	* fix zsh magic
1116133359Sobrien
1117186691Sobrien2003-04-04 16:59  Christos Zoulas  <christos@astron.com>
1118133359Sobrien
1119133359Sobrien	* fix operand sort order in string.
1120133359Sobrien
1121186691Sobrien2003-04-02 17:30  Christos Zoulas  <christos@astron.com>
1122133359Sobrien
1123133359Sobrien	* cleanup namespace in magic.h
1124133359Sobrien
1125186691Sobrien2003-04-02 13:50  Christos Zoulas  <christos@astron.com>
1126133359Sobrien
1127133359Sobrien	* Magic additions (Alex Ott)
1128133359Sobrien	* Fix bug that broke VPATH compilation (Peter Breitenlohner)
1129133359Sobrien
1130186691Sobrien2003-03-28 16:03  Christos Zoulas  <christos@astron.com>
1131133359Sobrien
1132133359Sobrien	* remove packed attribute from magic struct.
1133133359Sobrien	* make the magic struct properly aligned.
1134133359Sobrien	* bump version number of compiled files to 2.
1135133359Sobrien
1136186691Sobrien2003-03-27 13:10  Christos Zoulas  <christos@astron.com>
1137133359Sobrien
1138133359Sobrien	* separate tar detection and run it before softmagic.
1139133359Sobrien	* fix reversed symlink test.
1140133359Sobrien	* fix version printing.
1141133359Sobrien	* make separator a string instead of a char.
1142133359Sobrien	* update manual page and sort options.
1143133359Sobrien
1144186691Sobrien2003-03-26 11:00  Christos Zoulas  <christos@astron.com>
1145133359Sobrien
1146133359Sobrien	* Pass lint
1147133359Sobrien	* make NULL in magic_file mean stdin
1148133359Sobrien	* Fix "-" argument to file to pass NULL to magic_file
1149133359Sobrien	* avoid pointer casts by using memcpy
1150133359Sobrien	* rename magic_buf -> magic_buffer
1151133359Sobrien	* keep only the first error
1152133359Sobrien	* manual page: new sentence, new line
1153133359Sobrien	* fix typo in api function (magic_buf -> magic_buffer)
1154