1284193Sdelphij2015-01-02  15:15  Christos Zoulas <christos@zoulas.com>
2284193Sdelphij
3284193Sdelphij	* release 5.22
4284193Sdelphij
5284193Sdelphij2015-01-01  12:01  Christos Zoulas <christos@zoulas.com>
6284193Sdelphij
7284193Sdelphij	* add indirect relative for TIFF/Exif
8284193Sdelphij
9284193Sdelphij2014-12-16  18:10  Christos Zoulas <christos@zoulas.com>
10284193Sdelphij	
11284193Sdelphij	* restructure elf note printing to avoid repeated messages
12284193Sdelphij	* add note limit, suggested by Alexander Cherepanov
13284193Sdelphij
14284193Sdelphij2014-12-16  16:53  Christos Zoulas <christos@zoulas.com>
15284193Sdelphij	
16284193Sdelphij	* Bail out on partial pread()'s (Alexander Cherepanov)
17284193Sdelphij	* Fix incorrect bounds check in file_printable (Alexander Cherepanov)
18284193Sdelphij
19284193Sdelphij2014-12-11  20:01  Christos Zoulas <christos@zoulas.com>
20284193Sdelphij
21284193Sdelphij	* PR/405: ignore SIGPIPE from uncompress programs
22284193Sdelphij	* change printable -> file_printable and use it in
23284193Sdelphij	  more places for safety
24284193Sdelphij	* in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
25284193Sdelphij	  is present print the interpreter name.
26284193Sdelphij	
27284193Sdelphij2014-12-10  20:01  Christos Zoulas <christos@zoulas.com>
28284193Sdelphij
29284193Sdelphij	* release 5.21
30284193Sdelphij
31284193Sdelphij2014-11-27  18:40  Christos Zoulas <christos@zoulas.com>
32284193Sdelphij
33284193Sdelphij	* Allow setting more parameters from the command line.
34284193Sdelphij	* Split name/use and indirect magic recursion limits.
35284193Sdelphij
36284193Sdelphij2014-11-27  11:12  Christos Zoulas <christos@zoulas.com>
37284193Sdelphij
38284193Sdelphij	* Adjust ELF parameters and the default recursion
39284193Sdelphij	  level.
40284193Sdelphij	* Allow setting the recursion level dynamically.
41284193Sdelphij
42284193Sdelphij2014-11-24   8:55  Christos Zoulas <christos@zoulas.com>
43284193Sdelphij
44284193Sdelphij	* The following fixes resulted from Thomas Jarosch's fuzzing
45284193Sdelphij	  tests that revealed severe performance issues on pathological
46284193Sdelphij	  input:
47284193Sdelphij	    - limit number of elf program and sections processing
48284193Sdelphij	    - abort elf note processing quickly
49284193Sdelphij	    - reduce the number of recursion levels from 20 to 10
50284193Sdelphij	    - preserve error messages in indirect magic handling
51284193Sdelphij
52284193Sdelphij	This is tracked as CVE-2014-8116 and CVE-2014-8117
53284193Sdelphij
54284193Sdelphij2014-11-12  10:30  Christos Zoulas <christos@zoulas.com>
55284193Sdelphij
56284193Sdelphij	* fix bogus free in the user buffer case.
57284193Sdelphij
58284193Sdelphij2014-11-11  12:35  Christos Zoulas <christos@zoulas.com>
59284193Sdelphij
60284193Sdelphij	* fix out of bounds read for pascal strings
61284193Sdelphij	* fix memory leak (not freeing the head of each mlist)
62284193Sdelphij
63284193Sdelphij2014-11-07  10:25  Christos Zoulas <christos@zoulas.com>
64284193Sdelphij
65284193Sdelphij	* When printing strings from a file, convert them to printable
66284193Sdelphij	  on a byte by byte basis, so that we don't get issues with
67284193Sdelphij	  locale's trying to interpret random byte streams as UTF-8 and
68284193Sdelphij	  having printf error out with EILSEQ.
69284193Sdelphij	  
70284193Sdelphij2014-10-17  11:48  Christos Zoulas <christos@zoulas.com>
71284193Sdelphij
72284193Sdelphij	* fix bounds in note reading (Francisco Alonso / Red Hat)
73284193Sdelphij
74284193Sdelphij2014-10-11  15:02  Christos Zoulas <christos@zoulas.com>
75284193Sdelphij
76284193Sdelphij	* fix autoconf glue for setlocale and locale_t; some OS's
77284193Sdelphij	  have locale_t in xlocale.h
78284193Sdelphij
79284193Sdelphij2014-10-10  15:01  Christos Zoulas <christos@zoulas.com>
80284193Sdelphij
81284193Sdelphij	* release 5.20
82284193Sdelphij
83284193Sdelphij2014-08-17  10:01  Christos Zoulas <christos@zoulas.com>
84284193Sdelphij
85284193Sdelphij	* recognize encrypted CDF documents
86284193Sdelphij
87284193Sdelphij2014-08-04   9:18  Christos Zoulas <christos@zoulas.com>
88284193Sdelphij
89284193Sdelphij	* add magic_load_buffers from Brooks Davis
90284193Sdelphij
91284193Sdelphij2014-07-24  16:40  Christos Zoulas <christos@zoulas.com>
92284193Sdelphij
93284193Sdelphij	* add thumbs.db support
94284193Sdelphij
95268515Sdelphij2014-06-12  12:28  Christos Zoulas <christos@zoulas.com>
96268515Sdelphij
97268515Sdelphij	* release 5.19
98268515Sdelphij
99268515Sdelphij2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>
100268515Sdelphij	
101268515Sdelphij	* Misc buffer overruns and missing buffer size tests in cdf parsing
102268515Sdelphij	  (Francisco Alonso, Jan Kaluza)
103268515Sdelphij
104268515Sdelphij2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>
105268515Sdelphij
106268515Sdelphij	* Enforce limit of 8K on regex searches that have no limits
107268515Sdelphij	* Allow the l modifier for regex to mean line count. Default
108268515Sdelphij	  to byte count. If line count is specified, assume a max
109268515Sdelphij	  of 80 characters per line to limit the byte count.
110268515Sdelphij	* Don't allow conversions to be used for dates, allowing
111268515Sdelphij	  the mask field to be used as an offset.
112268515Sdelphij
113268515Sdelphij2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>
114268515Sdelphij
115268515Sdelphij	* Make the range operator limit the length of the
116268515Sdelphij	  regex search.
117268515Sdelphij
118268515Sdelphij2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>
119268515Sdelphij
120268515Sdelphij	* PR/347: Windows fixes
121268515Sdelphij	* PR/352: Hangul word processor recognition
122268515Sdelphij	* PR/354: Encoding irregularities in text files
123268515Sdelphij
124268515Sdelphij2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>
125268515Sdelphij
126268515Sdelphij	* Fix uninitialized title in CDF files (Jan Kaluza)
127268515Sdelphij
128268515Sdelphij2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>
129268515Sdelphij
130268515Sdelphij	* PR/351: Fix compilation of empty files 
131268515Sdelphij
132268515Sdelphij2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>
133268515Sdelphij
134268515Sdelphij	* Fix integer formats: We don't specify 'l' or
135268515Sdelphij	  'h' and 'hh' specifiers anymore, only 'll' for
136268515Sdelphij	  quads and nothing for the rest. This is so that
137268515Sdelphij	  magic writing is simpler.
138268515Sdelphij
139268515Sdelphij2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>
140268515Sdelphij
141268515Sdelphij	* PR/341: Jan Kaluza, fix memory leak
142268515Sdelphij	* PR/342: Jan Kaluza, fix out of bounds read
143268515Sdelphij
144268515Sdelphij2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>
145268515Sdelphij
146268515Sdelphij	* Fix issue with long formats not matching fmtcheck
147268515Sdelphij
148268515Sdelphij2014-03-26  11:25  Christos Zoulas <christos@zoulas.com>
149268515Sdelphij
150268515Sdelphij	* release 5.18
151268515Sdelphij
152268515Sdelphij2014-03-15  17:45  Christos Zoulas <christos@zoulas.com>
153268515Sdelphij
154268515Sdelphij	* add fmtcheck(3) for those who don't have it
155268515Sdelphij
156268515Sdelphij2014-03-14  15:12  Christos Zoulas <christos@zoulas.com>
157268515Sdelphij
158268515Sdelphij	* prevent mime entries from being attached to magic
159268515Sdelphij	  entries with no descriptions
160268515Sdelphij
161268515Sdelphij	* adjust magic strength for regex type
162268515Sdelphij
163268515Sdelphij	* remove superfluous ascmagic with encoding test
164268515Sdelphij
165268515Sdelphij2014-03-06  12:01  Christos Zoulas <christos@zoulas.com>
166268515Sdelphij
167268515Sdelphij	* fix regression fix echo -ne "\012\013\014" | file -i -
168268515Sdelphij	  which printed "binary" instead of "application/octet-stream"
169268515Sdelphij
170268515Sdelphij	* add size_t overflow check for magic file size
171268515Sdelphij
172268515Sdelphij2014-02-27  16:01  Christos Zoulas <christos@zoulas.com>
173268515Sdelphij
174268515Sdelphij	* experimental support for matching with CFD CLSID
175268515Sdelphij
176268515Sdelphij2014-02-18  13:04  Kimmo Suominen (kimmo@suominen.com)
177268515Sdelphij
178268515Sdelphij	* Cache old LC_CTYPE locale before setting it to "C", so
179268515Sdelphij	  we can use it to restore LC_CTYPE instead of asking
180268515Sdelphij	  setlocale() to scan the environment variables.
181268515Sdelphij
182268515Sdelphij2014-02-12  18:21  Christos Zoulas <christos@zoulas.com>
183268515Sdelphij
184268515Sdelphij	* Count recursion levels through indirect magic
185268515Sdelphij
186268515Sdelphij2014-02-11  10:40  Christos Zoulas <christos@zoulas.com>
187268515Sdelphij
188268515Sdelphij	* Prevent infinite recursion on files with indirect offsets of 0
189268515Sdelphij
190268515Sdelphij2014-01-30  21:00  Christos Zoulas <christos@zoulas.com>
191268515Sdelphij
192268515Sdelphij	* Add -E flag that makes file print filesystem errors to stderr
193268515Sdelphij	  and exit.
194268515Sdelphij
195268515Sdelphij2014-01-08  17:20  Christos Zoulas <christos@zoulas.com>
196268515Sdelphij
197268515Sdelphij	* mime printing could print results from multiple magic entries
198268515Sdelphij	  if there were multiple matches.
199268515Sdelphij	* in some cases overflow was not detected when computing offsets
200268515Sdelphij	  in softmagic.
201268515Sdelphij
202268515Sdelphij2013-12-05  12:00  Christos Zoulas <christos@zoulas.com>
203268515Sdelphij
204268515Sdelphij	* use strcasestr() to for cdf strings
205268515Sdelphij	* reset to the "C" locale while doing regex operations, or case
206268515Sdelphij	  insensitive comparisons; this is provisional
207268515Sdelphij
208268515Sdelphij2013-11-19  20:10  Christos Zoulas <christos@zoulas.com>
209268515Sdelphij
210268515Sdelphij	* always leave magic file loaded, don't unload for magic_check, etc.
211268515Sdelphij	* fix default encoding to binary instead of unknown which broke recently
212268515Sdelphij	* handle empty and one byte files, less specially so that
213268515Sdelphij	  --mime-encoding does not break completely.
214268515Sdelphij		`
215268515Sdelphij2013-11-06  14:40  Christos Zoulas <christos@zoulas.com>
216268515Sdelphij
217268515Sdelphij	* fix erroneous non-zero exit code from non-existant file and message
218268515Sdelphij
219268515Sdelphij2013-10-29  14:25  Christos Zoulas <christos@zoulas.com>
220268515Sdelphij
221268515Sdelphij	* add CDF MSI file detection (Guy Helmer)
222268515Sdelphij
223268515Sdelphij2013-09-03  11:56  Christos Zoulas <christos@zoulas.com>
224268515Sdelphij
225268515Sdelphij	* Don't mix errors and regular output if there was an error
226268515Sdelphij	* in magic_descriptor() don't close the file and try to restore
227268515Sdelphij	  its position
228268515Sdelphij
229268515Sdelphij2013-05-30  17:25  Christos Zoulas <christos@zoulas.com>
230268515Sdelphij
231268515Sdelphij	* Don't treat magic as an error if offset was past EOF (Christoph Biedl)
232268515Sdelphij
233268515Sdelphij2013-05-28  17:25  Christos Zoulas <christos@zoulas.com>
234268515Sdelphij	
235268515Sdelphij	* Fix spacing issues in softmagic and elf (Jan Kaluza)
236268515Sdelphij
237268515Sdelphij2013-05-02  18:00  Christos Zoulas <christos@zoulas.com>
238268515Sdelphij
239268515Sdelphij	* Fix segmentation fault with multiple magic_load commands.
240268515Sdelphij
241268515Sdelphij2013-04-22  11:20  Christos Zoulas <christos@zoulas.com>
242268515Sdelphij
243268515Sdelphij	* The way "default" was implemented was not very useful
244268515Sdelphij	  because the "if something was printed at that level"
245268515Sdelphij	  was not easily controlled by the user, and the format
246268515Sdelphij	  was bound to a string which is too restrictive. Add
247268515Sdelphij	  a "clear" for that level keyword and make "default"
248268515Sdelphij	  void. This way one can do:
249268515Sdelphij
250268515Sdelphij		>>13	clear	x
251268515Sdelphij		>>13	lelong	1	foo
252268515Sdelphij		>>13	lelong	2	bar
253268515Sdelphij		>>13	default	x
254268515Sdelphij		>>>13	lelong	x	unknown %x
255268515Sdelphij
256268515Sdelphij2013-03-25  13:20  Christos Zoulas <christos@zoulas.com>
257268515Sdelphij
258268515Sdelphij	* disallow strength setting in "name" entries
259268515Sdelphij
260268515Sdelphij2013-03-06  21:24  Christos Zoulas <christos@zoulas.com>
261268515Sdelphij
262268515Sdelphij	* fix recursive magic separator printing
263268515Sdelphij
264268515Sdelphij2013-02-26  19:28  Christos Zoulas <christos@zoulas.com>
265268515Sdelphij
266268515Sdelphij	* limit recursion level for mget
267268515Sdelphij	* fix pread() related breakage in cdf
268268515Sdelphij	* handle offsets properly in recursive "use"
269268515Sdelphij
270268515Sdelphij2013-02-18  10:39  Christos Zoulas <christos@zoulas.com>
271268515Sdelphij
272268515Sdelphij	* add elf reading of debug info to determine if file is stripped
273268515Sdelphij	  (Jan Kaluza)
274268515Sdelphij	* use pread()
275268515Sdelphij
276268515Sdelphij2013-01-25  18:05  Christos Zoulas <christos@zoulas.com>
277268515Sdelphij
278268515Sdelphij	* change mime description size from 64 to 80 to accommodate OOXML.
279268515Sdelphij
280268515Sdelphij2013-01-11  14:50  Christos Zoulas <christos@zoulas.com>
281268515Sdelphij
282268515Sdelphij	* Warn about inconsistent continuation levels.
283268515Sdelphij	* Change fsmagic to add a space after it prints.
284268515Sdelphij
285268515Sdelphij2013-01-10  21:00  Christos Zoulas <christos@zoulas.com>
286268515Sdelphij
287268515Sdelphij	* Make getline public so that file can link against it.
288268515Sdelphij	  Perhaps it is better to rename it, or hide it differently.
289268515Sdelphij	  Fixes builds on platforms that do not provide it.
290268515Sdelphij	  
291268515Sdelphij2013-01-07  16:30  Christos Zoulas <christos@zoulas.com>
292268515Sdelphij
293268515Sdelphij	* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
294268515Sdelphij	  what long, int, short, etc is (Guy Harris)
295268515Sdelphij
296268515Sdelphij2013-01-06  11:20  Christos Zoulas <christos@zoulas.com>
297268515Sdelphij
298268515Sdelphij	* add magic_version function and constant
299268515Sdelphij	* Redo memory allocation and de-allocation.
300268515Sdelphij	  (prevents double frees on non mmap platforms)
301268515Sdelphij	* Fix bug with name/use having to do with passing
302268515Sdelphij	  found state from the parent to the child and back.
303268515Sdelphij
304268515Sdelphij2012-12-19   8:47  Christos Zoulas <christos@zoulas.com>
305268515Sdelphij
306268515Sdelphij	* Only print elf capabilities for archs we know (Jan Kaluza)
307268515Sdelphij
308268515Sdelphij2012-10-30  19:14  Christos Zoulas <christos@zoulas.com>
309268515Sdelphij
310268515Sdelphij	* Add "name" and "use" file types in order to look
311268515Sdelphij	  inside mach-o files.
312268515Sdelphij
313268515Sdelphij2012-09-06  10:40  Christos Zoulas <christos@zoulas.com>
314268515Sdelphij
315268515Sdelphij	* make --version exit 0 (Matthew Schultz)
316268515Sdelphij	* add string/T (Jan Kaluza)
317268515Sdelphij
318268515Sdelphij2012-08-09  2:15  Christos Zoulas <christos@zoulas.com>
319268515Sdelphij
320268515Sdelphij	* add z and t modifiers for our own vasprintf
321268515Sdelphij	* search for $HOME/.magic.mgc if it is there first
322268515Sdelphij	* fix reads from a pipe, and preserve errno
323268515Sdelphij
324268515Sdelphij2012-05-15  13:12  Christos Zoulas <christos@zoulas.com>
325268515Sdelphij
326268515Sdelphij	* use ctime_r, asctime_r
327268515Sdelphij
328268515Sdelphij2012-04-06  17:18  Christos Zoulas <christos@zoulas.com>
329268515Sdelphij
330268515Sdelphij	* Fixes for indirect offsets to handle apple disk formats
331268515Sdelphij
332268515Sdelphij2012-04-03  18:26  Christos Zoulas <christos@zoulas.com>
333268515Sdelphij
334268515Sdelphij	* Add windows date field types
335268515Sdelphij	* More info for windows shortcuts (incomplete)
336268515Sdelphij
337234449Sobrien2012-02-20  17:33  Christos Zoulas <christos@zoulas.com>
338234449Sobrien
339234449Sobrien	* Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)
340234449Sobrien
341234449Sobrien2011-12-15  12:17  Chris Metcalf <cmetcalf@tilera.com>
342234449Sobrien
343234449Sobrien	* Support Tilera architectures (tile64, tilepro, tilegx).
344234449Sobrien
345234449Sobrien2011-12-16  16:33  Reuben Thomas <rrt@sc3d.org>
346234449Sobrien
347234449Sobrien	* Add magic for /usr/bin/env Perl scripts
348234449Sobrien	* Weaken generic script magic to avoid clashing with
349234449Sobrien	language-specific magic.
350234449Sobrien
351234449Sobrien2011-12-08  13:37  Reuben Thomas <rrt@sc3d.org>
352234449Sobrien
353234449Sobrien	* Simplify if (p) free(p) to free(p).
354234449Sobrien
355234449Sobrien2011-12-08  13:07  Reuben Thomas <rrt@sc3d.org>
356234449Sobrien
357234449Sobrien	* Remove hardwired token finding (names.h), turning it into soft
358234449Sobrien	magic. Patterns are either anchored regexs or search/8192. English
359234449Sobrien	language detection and PL/1 detection have been removed as they
360234449Sobrien	were too fragile. -e tokens is still accepted for backwards
361234449Sobrien	compatibility.
362234449Sobrien	* Move 3ds patterns (which are commented out anyway) into autodesk
363234449Sobrien	(they were, oddly, in c-lang).
364234449Sobrien
365234449Sobrien2011-12-06  00:16  Reuben Thomas <rrt@sc3d.org>
366234449Sobrien
367234449Sobrien	* Tweak strength of generic hash-bang detectors to be less than
368234449Sobrien	specific ones.
369234449Sobrien	* Make an inconsistent description of Python scripts consistent.
370234449Sobrien
371234449Sobrien2011-12-05  23:58  Reuben Thomas <rrt@sc3d.org>
372234449Sobrien
373234449Sobrien	* Fix minor error in file(1).
374234449Sobrien
375234449Sobrien2011-11-05  00:00  Reuben Thomas <rrt@sc3d.org>
376234449Sobrien
377234449Sobrien	* Fix issue #150 (I hope).
378234449Sobrien
379234449Sobrien2011-09-22  12:57  Christos Zoulas <christos@zoulas.com>
380234449Sobrien
381234449Sobrien	* Python3 binding fixes from Kelly Anderson
382234449Sobrien
383234449Sobrien2011-09-20  11:32  Christos Zoulas <christos@zoulas.com>
384234449Sobrien
385234449Sobrien	* If a string type magic entry is marked as text or binary
386234449Sobrien	  only match text files against text entries and binary
387234449Sobrien	  files against binary entries.
388234449Sobrien
389234449Sobrien2011-09-01  12:12  Christos Zoulas <christos@zoulas.com>
390234449Sobrien
391234449Sobrien	* Don't wait for any subprocess, just the one we forked.
392234449Sobrien
393234449Sobrien2011-08-26  16:40  Christos Zoulas <christos@zoulas.com>
394234449Sobrien
395234449Sobrien	* If the application name is not set in a cdf file, try to see
396234449Sobrien	  if it has a directory with the application name on it.
397234449Sobrien
398234449Sobrien2011-08-17  14:32  Christos Zoulas <christos@zoulas.com>
399234449Sobrien
400234449Sobrien	* Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
401234449Sobrien
402234449Sobrien2011-08-14  09:03  Christos Zoulas <christos@zoulas.com>
403234449Sobrien
404234449Sobrien	* Don't use variable string formats.
405234449Sobrien
406234449Sobrien2011-07-12  12:32  Reuben Thomas <rrt@sc3d.org>
407234449Sobrien
408234449Sobrien	* Fix detection of Zip files (Mantis #128).
409234449Sobrien	* Make some minor improvements to file(1).
410234449Sobrien	* Rename MIME types for filesystem objects for consistency with
411234449Sobrien	  xdg-utils. Typically this means that application/x-foo becomes
412234449Sobrien	  inode/foo, but some names also change slightly, e.g.
413234449Sobrien	  application/x-character-device becomes inode/chardevice.
414234449Sobrien
415234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
416234449Sobrien
417234449Sobrien	* fix mingw compilation (Abradoks)
418234449Sobrien
419234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
420234449Sobrien
421234449Sobrien	* remove patchlevel.h
422234449Sobrien	* Fix read past allocated memory caused by double-incrementing
423234449Sobrien	  a pointer in a loop (reported by Roberto Maar)
424234449Sobrien
425234449Sobrien2011-03-30  15:45  Christos Zoulas <christos@zoulas.com>
426234449Sobrien
427234449Sobrien	* Fix cdf string buffer setting (Sven Anders)
428234449Sobrien
429234449Sobrien2011-03-20  16:35  Christos Zoulas <christos@zoulas.com>
430234449Sobrien
431234449Sobrien	* Eliminate MAXPATHLEN and use dynamic allocation for
432234449Sobrien	  path and file buffers.
433234449Sobrien
434234449Sobrien2011-03-15  18:15  Christos Zoulas <christos@zoulas.com>
435234449Sobrien
436234449Sobrien	* binary tests on magic entries with masks could spuriously
437234449Sobrien	  get converted to ascii.
438234449Sobrien
439234449Sobrien2011-03-12  18:06  Reuben Thomas <rrt@sc3d.org>
440234449Sobrien
441234449Sobrien	* Improve file.man (remove BUGS, present email addresses consistently).
442234449Sobrien
443234449Sobrien2011-03-07  19:38  Christos Zoulas <christos@zoulas.com>
444234449Sobrien
445234449Sobrien	* add lrzip support (from Ville Skytta)
446234449Sobrien
447234449Sobrien2011-02-10  16:36  Christos Zoulas <christos@zoulas.com>
448234449Sobrien
449234449Sobrien	* fix CDF bounds checking (Guy Helmer)
450234449Sobrien
451234449Sobrien2011-02-10  12:03  Christos Zoulas <christos@zoulas.com>
452234449Sobrien
453234449Sobrien	* add cdf_ctime() that prints a meaningful error when time cannot
454234449Sobrien	  be converted.
455234449Sobrien
456234449Sobrien2011-02-02  20:40  Christos Zoulas <christos@zoulas.com>
457234449Sobrien
458234449Sobrien	* help and version output to stdout.
459234449Sobrien
460234449Sobrien	* When matching softmagic for ascii files, don't just print
461234449Sobrien	  the softmagic classification, keep going and print the
462234449Sobrien	  text classification too. This fixes broken troff files when
463234449Sobrien	  we moved them from keyword recognition to softmagic
464234449Sobrien	  (they stopped printing "with CRLF" etc.)
465234449Sobrien	  Reported by Doug McIlroy.
466234449Sobrien
467234449Sobrien2011-01-16  19:31  Reuben Thomas <rrt@sc3d.org>
468234449Sobrien
469234449Sobrien	* Fix two potential buffer overruns in apprentice_list.
470234449Sobrien
471234449Sobrien2011-01-14  22:33  Reuben Thomas <rrt@sc3d.org>
472234449Sobrien
473234449Sobrien	* New Python binding in pure Python.
474234449Sobrien	* Update libmagic(3).
475234449Sobrien
476234449Sobrien2011-01-06  21:40  Reuben Thomas <rrt@sc3d.org>
477234449Sobrien
478234449Sobrien	* Fix Python bindings (including recent Python 3 compatibility
479234449Sobrien	  update).
480234449Sobrien
481234449Sobrien2011-01-04  18:43  Reuben Thomas <rrt@sc3d.org>
482234449Sobrien
483234449Sobrien	* magic/Makefile.am: make it easier to recover from magic build failures.
484234449Sobrien	* Fix pstring length specifier parsing to avoid generating invalid
485234449Sobrien	  magic files.
486234449Sobrien	* Add pstring length "J" (for "JPEG") to specify that the length
487234449Sobrien	  include itself.
488234449Sobrien	* Fix JPEG comment parsing at last using pstring/HJ!
489234449Sobrien	* Ignore section 5 man pages in doc/.cvsignore.
490234449Sobrien
491234449Sobrien2010-12-22  13:12  Christos Zoulas <christos@zoulas.com>
492234449Sobrien
493234449Sobrien	* Add pstring/BHhLl to specify the type of the length of pascal
494234449Sobrien	  strings.
495234449Sobrien
496234449Sobrien2010-11-26  18:39  Reuben Thomas <rrt@sc3d.org>
497234449Sobrien
498234449Sobrien	* Fix "-e soft": it was ignored when softmagic was called
499234449Sobrien	  during asciimagic.
500234449Sobrien	* Improve comments and use "unsigned char" in tar.h/is_tar.c.
501234449Sobrien
502234449Sobrien2010-11-05  17:26  Reuben Thomas <rrt@sc3d.org>
503234449Sobrien
504234449Sobrien	* Make bug reporting addresses more visible.
505234449Sobrien
506234449Sobrien2010-11-01  18:35  Reuben Thomas <rrt@sc3d.org>
507234449Sobrien
508234449Sobrien	* Add tcl magic from Gustaf Neumann
509234449Sobrien
510234449Sobrien2010-10-24  10:42  Christos Zoulas <christos@zoulas.com>
511234449Sobrien
512234449Sobrien	* Fix the whitespace comparing code (Christopher Chittleborough)
513234449Sobrien
514234449Sobrien2010-10-06  21:05  Christos Zoulas <christos@zoulas.com>
515234449Sobrien
516234449Sobrien	* allow string/t to work (Jan Kaluza)
517234449Sobrien
518234449Sobrien2010-09-20  22:11  Reuben Thomas <rrt@sc3d.org>
519234449Sobrien
520234449Sobrien	* Apply some patches from Ubuntu and Fedora.
521234449Sobrien
522234449Sobrien2010-09-20  21:16  Reuben Thomas <rrt@sc3d.org>
523234449Sobrien
524234449Sobrien	* Apply all patches from Debian package 5.04-6 which have not
525234449Sobrien	  already been applied and are not Debian-specific.
526234449Sobrien
527234449Sobrien2010-09-20  15:24  Reuben Thomas <rrt@sc3d.org>
528234449Sobrien
529234449Sobrien	* Minor security fix to softmagic.c (don't use untrusted
530234449Sobrien	  string as printf format).
531234449Sobrien
532234449Sobrien2010-07-21  12:20  Christos Zoulas <christos@zoulas.com>
533234449Sobrien
534234449Sobrien	* MINGW32 portability from LRN
535234449Sobrien
536234449Sobrien	* Don't warn about escaping magic regex chars when we are in a regex.
537234449Sobrien
538234449Sobrien2010-07-19  10:55  Christos Zoulas <christos@zoulas.com>
539234449Sobrien
540234449Sobrien	* Only try to print prpsinfo for core files. (Jan Kaluza)
541234449Sobrien
542234449Sobrien2010-04-22  12:55  Christos Zoulas <christos@zoulas.com>
543234449Sobrien
544234449Sobrien	* Try more elf offsets for Debian core files.  (Arnaud Giersch)
545234449Sobrien
546234449Sobrien2010-02-20  15:18  Reuben Thomas <rrt@sc3d.org>
547234449Sobrien
548234449Sobrien	* Clarify which sort of CDF we mean.
549234449Sobrien
550234449Sobrien2010-02-14  22:58  Reuben Thomas <rrt@sc3d.org>
551234449Sobrien
552234449Sobrien	* Re-jig Zip file type magic so that unsupported special
553234449Sobrien	  Zip types (those with "mimetype" at offset 30) can be
554234449Sobrien	  recognized.
555234449Sobrien
556234449Sobrien2010-02-02  21:50  Reuben Thomas <rrt@sc3d.org>
557234449Sobrien
558234449Sobrien	* Add support for OCF (EPUB) files (application/epub+zip)
559234449Sobrien
560234449Sobrien2010-01-28  18:25  Christos Zoulas <christos@zoulas.com>
561234449Sobrien
562234449Sobrien	* Fix core-dump from unbound loop:
563234449Sobrien	  https://bugzilla.redhat.com/show_bug.cgi?id=533245
564234449Sobrien
565234449Sobrien2010-01-22  15:45  Christos Zoulas <christos@zoulas.com>
566234449Sobrien
567234449Sobrien	* print proper mime for crystal reports file
568234449Sobrien
569234449Sobrien	* print the last summary information of a cdf document, not the
570234449Sobrien	  first so that nested documents print the right info
571234449Sobrien
572234449Sobrien2010-01-16  18:42  Charles Longeau <chl@tuxfamily.org>
573234449Sobrien
574234449Sobrien	* bring back some fixes from OpenBSD:
575234449Sobrien		- make gcc2 builds file
576234449Sobrien		- fix typos in a magic file comment
577234449Sobrien
578234449Sobrien2009-11-17  18:35  Christos Zoulas <christos@zoulas.com>
579234449Sobrien
580234449Sobrien	* ctime/asctime can return NULL on some OS's although
581234449Sobrien	  they should not (Toshit Antani)
582234449Sobrien
583234449Sobrien2009-09-14  13:49  Christos Zoulas <christos@zoulas.com>
584234449Sobrien
585234449Sobrien	* Centralize magic path handling routines and remove the
586234449Sobrien	  special-casing from file.c so that the python module for
587234449Sobrien	  example comes up with the same magic path (Fixes ~/.magic
588234449Sobrien	  handling) (from Gab)
589234449Sobrien
590234449Sobrien2009-09-11  23:38  Reuben Thomas <rrt@sc3d.org>
591234449Sobrien
592234449Sobrien	* When magic argument is a directory, read the files in
593234449Sobrien	  strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
594234449Sobrien
595234449Sobrien2009-09-11  13:11  Reuben Thomas <rrt@sc3d.org>
596234449Sobrien
597234449Sobrien	* Combine overlapping epoc and psion magic files into one (epoc).
598234449Sobrien
599234449Sobrien	* Add some more EPOC MIME types.
600234449Sobrien
601234449Sobrien2009-08-19  15:55  Christos Zoulas <christos@zoulas.com>
602234449Sobrien
603234449Sobrien	* Fix 3 bugs (From Ian Darwin):
604234449Sobrien	    - file_showstr could move one past the end of the array
605234449Sobrien	    - parse_apple did not nul terminate the string in the overflow case
606234449Sobrien	    - parse_mime truncated the wrong string in the overflow case
607234449Sobrien
608234449Sobrien2009-08-12  12:28  Robert Byrnes  <byrnes@wildpumpkin.net>
609234449Sobrien
610234449Sobrien	* Include Localstuff when compiling magic.
611234449Sobrien
612234449Sobrien2009-07-15  10:05  Christos Zoulas <christos@zoulas.com>
613234449Sobrien
614234449Sobrien	* Fix logic for including mygetopts.h
615234449Sobrien
616234449Sobrien	* Make cdf.c compile again with debugging
617234449Sobrien
618234449Sobrien	* Add the necessary field handling for crystal reports files to work
619234449Sobrien
620234449Sobrien2009-06-23 01:34  Reuben Thomas <rrt@sc3d.org>
621234449Sobrien
622234449Sobrien	* Stop "(if" identifying Lisp files, that's plain dumb!
623234449Sobrien
624234449Sobrien2009-06-09 22:13  Reuben Thomas <rrt@sc3d.org>
625234449Sobrien
626234449Sobrien	* Add a couple of missing MP3 MIME types.
627234449Sobrien
628234449Sobrien2009-05-27 23:00  Reuben Thomas <rrt@sc3d.org>
629234449Sobrien
630234449Sobrien	* Add full range of hash-bang tests for Python and Ruby.
631234449Sobrien
632234449Sobrien	* Add MIME types for Python and Ruby scripts.
633234449Sobrien
634234449Sobrien2009-05-13  10:44  Christos Zoulas <christos@zoulas.com>
635234449Sobrien
636234449Sobrien	* off by one in parsing hw capabilities in elf
637234449Sobrien	  (Cheng Renquan)
638234449Sobrien
639234449Sobrien2009-05-08  13:40  Christos Zoulas <christos@zoulas.com>
640234449Sobrien	
641234449Sobrien	* lint fixes and more from NetBSD
642234449Sobrien
643192350Sdelphij2009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
644192350Sdelphij
645192350Sdelphij	* Avoid null dereference in cdf code (Drew Yao)
646192350Sdelphij
647192350Sdelphij	* More cdf bounds checks and overflow checks
648192350Sdelphij
649192350Sdelphij2009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
650192350Sdelphij
651192350Sdelphij	* Buffer overflow fixes from Drew Yao
652192350Sdelphij
653192350Sdelphij2009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
654192350Sdelphij
655192350Sdelphij	* Fix more cdf lossage. All the documents I have
656192350Sdelphij	  right now print the correct information.
657192350Sdelphij
658192350Sdelphij2009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
659192350Sdelphij
660192350Sdelphij	* don't print \012- separators in the same magic entry 
661192350Sdelphij	  if it consists of multiple magic printing lines.
662192350Sdelphij
663192350Sdelphij2009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
664192350Sdelphij
665192350Sdelphij	* Avoid file descriptor leak in compress code from
666192350Sdelphij	  (Daniel Novotny)
667192350Sdelphij
668192350Sdelphij2009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
669192350Sdelphij
670192350Sdelphij	* Allow escaping of relation characters, so that we can say \^[A-Z]
671192350Sdelphij	  and the ^ is not eaten as a relation char.
672192350Sdelphij
673192350Sdelphij	* Fix troff and fortran to their previous glory using
674192350Sdelphij	  regex. This was broken since their removel from ascmagic.
675192350Sdelphij
676192350Sdelphij2009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
677192350Sdelphij
678192350Sdelphij	* don't use strlen in strndup() (Toby Peterson)
679192350Sdelphij
680192350Sdelphij2009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
681192350Sdelphij
682192350Sdelphij	* avoid c99 syntax.
683192350Sdelphij
684192350Sdelphij2009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
685192350Sdelphij
686192350Sdelphij	* make the cdf code use the buffer first if available,
687192350Sdelphij	  and then the fd code.
688192350Sdelphij
689192350Sdelphij2009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
690192350Sdelphij
691192350Sdelphij	* look for struct option to determine if getopt.h is usable for IRIX.
692192350Sdelphij
693192350Sdelphij	* sanitize cdf document strings
694192350Sdelphij
695192350Sdelphij2009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
696192350Sdelphij
697192350Sdelphij	* fix OS/2 warnings.
698192350Sdelphij
699191771Sobrien2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
700191771Sobrien
701191771Sobrien	* fix initial offset calculation for non 4K sector files
702191771Sobrien
703191771Sobrien	* add loop limits to avoid DoS attacks by constructing
704191771Sobrien	  looping sector references.
705191771Sobrien
706191771Sobrien2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
707191771Sobrien
708191771Sobrien	* fix memory botches on cdf file parsing.
709191771Sobrien
710191771Sobrien	* exit with non-zero value for any error, not just for the last
711191771Sobrien	  file processed.
712191771Sobrien
713191771Sobrien2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
714191771Sobrien
715191771Sobrien	* Replace all str{cpy,cat} functions with strl{cpy,cat}
716191771Sobrien	* Ensure that strl{cpy,cat} are included in libmagic,
717191771Sobrien	  as needed.
718191771Sobrien
719191771Sobrien2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
720191771Sobrien
721191771Sobrien	* Handle ID3 format files.
722191771Sobrien
723191771Sobrien2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
724191771Sobrien
725191771Sobrien	* Fix --mime, --mime-type and --mime-encoding under new scheme.
726191771Sobrien
727191771Sobrien	* Rename "ascii" to "text" and add "encoding" test.
728191771Sobrien
729191771Sobrien	* Return a precise ("utf-16le" or "utf-16be") MIME charset for
730191771Sobrien	  UTF-16.
731191771Sobrien
732191771Sobrien	* Fix error in comment caused by automatic indentation adding
733191771Sobrien	  words!
734191771Sobrien
735191771Sobrien2008-11-06 10:35  Christos Zoulas <christos@astron.com>
736191771Sobrien
737191771Sobrien	* use memchr instead of strchr because the string
738191771Sobrien	  might not be NUL terminated (Scott MacVicar)
739191771Sobrien
740191771Sobrien2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
741191771Sobrien
742191771Sobrien	* Fix a printf with a non-literal format string.
743191771Sobrien
744191771Sobrien	* Fix formatting and punctuation of help for "--apple".
745191771Sobrien
746191771Sobrien2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
747191771Sobrien
748191771Sobrien	* Correct words counts in comments of struct magic.
749191771Sobrien
750191771Sobrien	* Fix handle_annotation to allow both Apple and MIME types to be
751191771Sobrien	  printed, and to return correct code if MIME type is
752191771Sobrien	  printed (1, not 0) or if there's an error (-1 not 1).
753191771Sobrien
754191771Sobrien	* Fix output of charset for MIME type (precede with semi-colon;
755191771Sobrien	  fixes Debian bug #501460).
756191771Sobrien
757191771Sobrien	* Fix potential attacks via conversion specifications in magic
758191771Sobrien	  strings.
759191771Sobrien
760191771Sobrien	* Add a FIXME for Debian bug #488562 (magic files should be
761191771Sobrien	  read in a defined order, by sorting the names).
762191771Sobrien
763191771Sobrien2008-10-18 16:45  Christos Zoulas <christos@astron.com>
764191771Sobrien
765191771Sobrien	* Added APPLE file creator/type
766191771Sobrien
767191771Sobrien2008-10-12 10:20  Christos Zoulas <christos@astron.com>
768191771Sobrien
769191771Sobrien	* Added CDF parsing
770191771Sobrien
771191771Sobrien2008-10-09 16:40  Christos Zoulas <christos@astron.com>
772191771Sobrien
773191771Sobrien	* filesystem and msdos patches (Joerg Jenderek)
774191771Sobrien
775191771Sobrien2008-10-09 13:20  Christos Zoulas <christos@astron.com>
776191771Sobrien
777191771Sobrien	* correct --exclude documentation issues: remove troff and fortran
778191771Sobrien	  and rename "token" to "tokens". (Randy McMurchy)
779191771Sobrien
780191771Sobrien2008-10-01 10:30  Christos Zoulas <christos@astron.com>
781191771Sobrien
782191771Sobrien	* Read ~/.magic in addition to the default magic file not instead
783191771Sobrien	  of, as documented in the man page.
784191771Sobrien
785191771Sobrien2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
786191771Sobrien
787191771Sobrien	* Comment out graphviz patterns, as they match too many files.
788191771Sobrien
789186691Sobrien2008-08-30 12:54  Christos Zoulas <christos@astron.com>
790175296Sobrien
791186691Sobrien	* Don't eat trailing \n in magic enties.
792186691Sobrien
793186691Sobrien	* Cast defines to allow compilation using a c++ compiler.
794186691Sobrien
795191771Sobrien2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
796191771Sobrien
797191771Sobrien	* Add text/x-lua MIME type for Lua scripts.
798191771Sobrien
799191771Sobrien	* Escape { in regex in graphviz patterns.
800191771Sobrien
801186691Sobrien2008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
802186691Sobrien
803186691Sobrien	* Add MIME types for special files.
804186691Sobrien
805186691Sobrien	* Use access to give more accurate information for files that
806186691Sobrien	  can't be opened.
807186691Sobrien
808186691Sobrien	* Add a TODO list.
809186691Sobrien
810186691Sobrien2008-07-02 11:15  Christos Zoulas  <christos@astron.com>
811186691Sobrien
812186691Sobrien	* add !:strength op to adjust magic strength (experimental)
813186691Sobrien
814186691Sobrien2008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
815186691Sobrien
816186691Sobrien	* Fix automake error in configure.ac.
817186691Sobrien
818186691Sobrien	* Add MIME type for Psion Sketch files.
819186691Sobrien
820186691Sobrien2008-06-05 08:59  Christos Zoulas  <christos@astron.com>
821186691Sobrien
822186691Sobrien	* Don't print warnings about bad namesize in stripped
823186691Sobrien	  binaries with PT_NOTE is still there, and the actual
824186691Sobrien	  note is gone (Jakub Jelinek)
825186691Sobrien
826186691Sobrien2008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
827186691Sobrien
828186691Sobrien	* magic/Magdir/elf:
829186691Sobrien	  Note invalid byte order for little-endian SPARC32PLUS.
830186691Sobrien	  Add SPARC V9 vendor extensions and memory model.
831186691Sobrien
832186691Sobrien	* src/elfclass.h:
833186691Sobrien	  Pass target machine to doshn (for Solaris hardware capabilities).
834186691Sobrien
835186691Sobrien	* src/readelf.c (doshn):
836186691Sobrien	  Add support for Solaris hardware/software capabilities.
837186691Sobrien
838186691Sobrien	* src/readelf.h:
839186691Sobrien	  Ditto.
840186691Sobrien
841186691Sobrien	* src/vasprintf.c (dispatch):
842186691Sobrien	  Add support for ll modifier.
843186691Sobrien
844186691Sobrien2008-05-16 10:25  Christos Zoulas  <christos@astron.com>
845186691Sobrien
846186691Sobrien	* Fix compiler warnings.
847186691Sobrien
848186691Sobrien	* remove stray printf, and fix a vprintf bug. (Martin Dorey)
849186691Sobrien
850186691Sobrien2008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
851186691Sobrien
852191771Sobrien	* src/Makefile.am:
853186691Sobrien	  Ensure that getopt_long and [v]asprintf are included in libmagic,
854186691Sobrien	  as needed.
855186691Sobrien
856186691Sobrien	  Remove unnecessary EXTRA_DIST.
857186691Sobrien
858191771Sobrien	* src/Makefile.in:
859186691Sobrien	  Rerun automake.
860186691Sobrien
861191771Sobrien	* src/vasprintf.c (dispatch):
862186691Sobrien	  Fix variable precision bug: be sure to step past '*'.
863186691Sobrien
864191771Sobrien	* src/vasprintf.c (core):
865186691Sobrien	  Remove unreachable code.
866186691Sobrien
867191771Sobrien	* src/apprentice.c (set_test_type):
868186691Sobrien	  Add cast to avoid compiler warning.
869186691Sobrien
870186691Sobrien2008-04-22 23:45  Christos Zoulas  <christos@astron.com>
871186691Sobrien
872186691Sobrien	* Add magic submission guidelines (Abel Cheung)
873186691Sobrien
874186691Sobrien	* split msdos and windows magic (Abel Cheung)
875186691Sobrien
876186691Sobrien2008-04-04 11:00  Christos Zoulas  <christos@astron.com>
877186691Sobrien
878191771Sobrien	* >= <= is not supported, so fix the magic and warn about it.
879186691Sobrien	  reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
880186691Sobrien
881186691Sobrien2008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
882186691Sobrien
883191771Sobrien	* src/readelf.c (donote):
884186691Sobrien	  ELF core file command name/line bug fixes and enhancements:
885186691Sobrien
886186691Sobrien	  Try larger offsets first to avoid false matches
887186691Sobrien	  from earlier data that happen to look like strings;
888186691Sobrien	  this primarily affected SunOS 5.x 32-bit Intel core files.
889186691Sobrien
890186691Sobrien	  Add support for command line (instead of just short name)
891186691Sobrien	  for SunOS 5.x.
892186691Sobrien
893186691Sobrien	  Add information about NT_PSINFO for SunOS 5.x.
894186691Sobrien
895186691Sobrien	  Only trim whitespace from end of command line.
896186691Sobrien
897186691Sobrien2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
898186691Sobrien
899186691Sobrien	* Change strength of ! from MULT to 0, as it matches almost
900186691Sobrien		  anything (Reuben Thomas)
901186691Sobrien
902186691Sobrien	* Debian fixes (Reuben Thomas)
903186691Sobrien
904186691Sobrien2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
905186691Sobrien
906186691Sobrien	* Clarify UTF-8 BOM message (Reuben Thomas)
907186691Sobrien
908186691Sobrien	* Add HTML comment to token list in names.h
909191771Sobrien
910186691Sobrien2007-02-04 15:50 Christos Zoulas <christos@astron.com>
911186691Sobrien
912186691Sobrien	* Debian fixes (Reuben Thomas)
913186691Sobrien
914186691Sobrien2007-02-04 11:31 Christos Zoulas <christos@astron.com>
915186691Sobrien
916186691Sobrien	* !:mime annotations in magic files (Reuben Thomas)
917186691Sobrien
918186691Sobrien2007-01-29 15:35 Christos Zoulas <christos@astron.com>
919186691Sobrien
920186691Sobrien	* zero out utime/utimes structs (Gavin Atkinson)
921186691Sobrien
922186691Sobrien2007-01-26 13:45 Christos Zoulas <christos@astron.com>
923186691Sobrien
924186691Sobrien	* reduce writable data from Diego "Flameeyes" Petten
925186691Sobrien
926186691Sobrien2007-12-28 15:06 Christos Zoulas <christos@astron.com>
927186691Sobrien
928175296Sobrien	* strtof detection
929175296Sobrien
930175296Sobrien	* remove bogus regex magic that could cause a DoS
931175296Sobrien
932175296Sobrien	* better mismatch version message
933175296Sobrien
934186691Sobrien2007-12-27 11:35 Christos Zoulas <christos@astron.com>
935175296Sobrien
936175296Sobrien	* bring back some fixes from OpenBSD
937175296Sobrien
938175296Sobrien	* treat ELF dynamic objects as executables
939175296Sobrien
940175296Sobrien	* fix gcc warnings
941175296Sobrien
942186691Sobrien2007-12-01 19:55 Christos Zoulas <christos@astron.com>
943175296Sobrien
944175296Sobrien	* make sure we have zlib.h and libz to compile the builtin
945175296Sobrien	  decompress code
946175296Sobrien
947186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
948175296Sobrien
949191771Sobrien 	* float and double magic support (Behan Webster)
950175296Sobrien
951186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
952175296Sobrien
953175296Sobrien	* Convert fortran to a soft test (Reuben Thomas)
954175296Sobrien
955186691Sobrien2007-10-23  5:25 Christos Zoulas <christos@astron.com>
956175296Sobrien
957175296Sobrien	* Add --with-filename, and --no-filename (Reuben Thomas)
958175296Sobrien
959186691Sobrien2007-10-23  3:59 Christos Zoulas <christos@astron.com>
960175296Sobrien
961175296Sobrien	* Rest of the mime split (Reuben Thomas)
962175296Sobrien
963175296Sobrien	* Make usage message generated from the flags so that
964175296Sobrien	  they stay consistent (Reuben Thomas)
965175296Sobrien
966186691Sobrien2007-10-20  3:06 Christos Zoulas <christos@astron.com>
967175296Sobrien
968175296Sobrien	* typo in comment, missing ifdef QUICK, remove unneeded code
969175296Sobrien		(Charles Longeau)
970175296Sobrien
971186691Sobrien2007-10-17  3:33 Christos Zoulas <christos@astron.com>
972175296Sobrien
973175296Sobrien	* Fix problem printing -\012 in some entries
974175296Sobrien
975175296Sobrien	* Separate magic type and encoding flags (Reuben Thomas)
976175296Sobrien
977186691Sobrien2007-10-09  3:55 Christos Zoulas <christos@astron.com>
978175296Sobrien
979175296Sobrien	* configure fix for int64 and strndup (Reuben Thomas)
980175296Sobrien
981186691Sobrien2007-09-26  4:45 Christos Zoulas <christos@astron.com>
982175296Sobrien
983175296Sobrien	* Add magic_descriptor() function.
984175296Sobrien
985175296Sobrien	* Fix regression in elf reading code where the core name was
986175296Sobrien	  not being printed.
987175296Sobrien
988175296Sobrien	* Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
989175296Sobrien
990186691Sobrien2007-08-19  6:30 Christos Zoulas <christos@astron.com>
991175296Sobrien
992175296Sobrien	* Make mime format consistent so that it can
993175296Sobrien	  be easily parsed:
994175296Sobrien	      mimetype [charset=character-set] [encoding=encoding-mime-type]
995175296Sobrien
996191771Sobrien	  Remove spurious extra text from some MIME type printouts
997175296Sobrien	  (mostly in is_tar).
998175296Sobrien
999175296Sobrien	  Fix one case where -i produced nothing at all (for a 1-byte file,
1000175296Sobrien	  which is now classed as application/octet-stream).
1001175296Sobrien
1002175296Sobrien	  Remove 7/8bit classifications, since they were arbitrary
1003175296Sobrien	  and not based on the file data.
1004175296Sobrien
1005175296Sobrien	  This work was done by Reuben Thomas
1006175296Sobrien
1007186691Sobrien2007-05-24 10:00 Christos Zoulas <christos@astron.com>
1008169962Sobrien
1009169962Sobrien	* Fix another integer overflow (Colin Percival)
1010169962Sobrien
1011186691Sobrien2007-03-26 13:58 Christos Zoulas <christos@astron.com>
1012169962Sobrien
1013169962Sobrien	* make sure that all of struct magic_set is initialized appropriately
1014169962Sobrien	  (Brett)
1015169962Sobrien
1016186691Sobrien2007-03-25 17:44 Christos Zoulas <christos@astron.com>
1017169962Sobrien
1018169962Sobrien	* reset left bytes in the buffer (Dmitry V. Levin)
1019169962Sobrien
1020169962Sobrien	* compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
1021169962Sobrien	  (Peter Avalos)
1022169962Sobrien
1023186691Sobrien2007-03-15 10:51 Christos Zoulas <christos@astron.com>
1024169962Sobrien
1025169962Sobrien	* fix fortran and nroff reversed tests (Dmitry V. Levin)
1026191771Sobrien
1027169962Sobrien	* fix exclude option (Dmitry V. Levin)
1028169962Sobrien
1029186691Sobrien2007-02-08 17:30 Christos Zoulas <christos@astron.com>
1030169962Sobrien
1031169962Sobrien	* fix integer underflow in file_printf which can lead to
1032169962Sobrien	  to exploitable heap overflow (Jean-Sebastien Guay-Lero)
1033169962Sobrien
1034186691Sobrien2007-02-05 11:35 Christos Zoulas <christos@astron.com>
1035169962Sobrien
1036169962Sobrien	* make socket/pipe reading more robust
1037169962Sobrien
1038186691Sobrien2007-01-25 16:01 Christos Zoulas <christos@astron.com>
1039169962Sobrien
1040169962Sobrien	* Centralize all the tests in file_buffer.
1041169962Sobrien
1042169962Sobrien	* Add exclude flag.
1043169962Sobrien
1044169962Sobrien2007-01-18 05:29 Anon Ymous <do@not.spam.me>
1045191771Sobrien
1046169962Sobrien	* Move the "type" detection code from parse() into its own table
1047169962Sobrien	  driven routine.  This avoids maintaining multiple lists in
1048169962Sobrien	  file.h.
1049169962Sobrien
1050169962Sobrien	* Add an optional conditional field (ust before the type field).
1051169962Sobrien	  This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
1052169962Sobrien	  likely to go away.
1053191771Sobrien
1054169962Sobrien2007-01-16 23:24 Anon Ymous <do@not.spam.me>
1055169962Sobrien
1056169962Sobrien	* Fix an initialization bug in check_mem().
1057169962Sobrien
1058169962Sobrien2007-01-16 14:58 Anon Ymous <do@not.spam.me>
1059169962Sobrien
1060169962Sobrien	* Add a "default" type to print a message if nothing previously
1061169962Sobrien	  matched at that level or since the last default at that
1062169962Sobrien	  level.  This is useful for setting up switch-like statements.
1063169962Sobrien	  It can also be used to do if/else constructions without a
1064169962Sobrien	  redundant second test.
1065169962Sobrien
1066169962Sobrien	* Fix the "x" special case test so that one can test for that
1067169962Sobrien	  string with "=x".
1068169962Sobrien
1069169962Sobrien	* Allow "search" to search the entire buffer if the "/N"
1070169962Sobrien	  search count is missing.
1071169962Sobrien
1072169962Sobrien	* Make "regex" work!  It now starts its search at the
1073169962Sobrien	  specified offset and takes an (optional) "/N" line count to
1074169962Sobrien	  specify the search range; otherwise it searches to the end
1075169962Sobrien	  of the file.  The match is now grabbed correctly for format
1076169962Sobrien	  strings and the offset set to the end of the match.
1077169962Sobrien
1078169962Sobrien	* Add a "/s" flag to "regex" and "search" to set the offset to
1079169962Sobrien	  the start of the match.  By default the offset is set to the
1080169962Sobrien	  end of the match, as it is with other tests.  This is mostly
1081169962Sobrien	  useful for "regex".
1082169962Sobrien
1083169962Sobrien	* Make "search", "string" and "pstring" use the same
1084169962Sobrien	  file_strncmp() routine so that they support the same flags;
1085169962Sobrien	  "bestring16" and "lestring16" call the same routine, but
1086169962Sobrien	  with flags = 0.  Also add a "/C" flag (in analogy to "/c")
1087169962Sobrien	  to ignore the case on uppercase (lowercase) characters in
1088169962Sobrien	  the test string.
1089169962Sobrien
1090169962Sobrien	* Strict adherence to C style string escapes.  A warnings are
1091169962Sobrien	  printed when compiling.  Note: previously "\a" was
1092169962Sobrien	  incorrectly translated to 'a' instead of an <alert> (i.e.,
1093169962Sobrien	  BELL, typically 0x07).
1094169962Sobrien
1095169962Sobrien	* Make this compile with "-Wall -Wextra" and all the warning
1096169962Sobrien	  flags used with WARNS=4 in the NetBSD source.  Also make it
1097169962Sobrien	  pass lint.
1098169962Sobrien
1099169962Sobrien	* Many "cleanups" and hopefully not too many new bugs!
1100169962Sobrien
1101169962Sobrien2007-01-16 14:56 Anon Ymous <do@not.spam.me>
1102169962Sobrien
1103169962Sobrien	* make several more files compile with gcc warnings
1104169962Sobrien	  on and also make them pass lint.
1105169962Sobrien
1106169962Sobrien2007-01-16 14:54 Anon Ymous <do@not.spam.me>
1107169962Sobrien
1108169962Sobrien	* fix a puts()/putc() usage goof in file.c
1109169962Sobrien
1110169962Sobrien	* make file.c compile with gcc warnings and pass lint
1111169962Sobrien
1112186691Sobrien2006-12-11 16:49 Christos Zoulas <christos@astron.com>
1113169942Sobrien
1114169942Sobrien	* fix byteswapping issue
1115169942Sobrien
1116169942Sobrien	* report the number of bytes we tried to
1117169942Sobrien	  allocate when allocation fails
1118169942Sobrien
1119169942Sobrien	* add a few missed cases in the strength routine
1120169942Sobrien
1121186691Sobrien2006-12-08 16:32 Christos Zoulas <christos@astron.com>
1122169942Sobrien
1123169942Sobrien	* store and print the line number of the magic
1124191771Sobrien	  entry for debugging.
1125169942Sobrien
1126169942Sobrien	* if the magic entry did not print anything,
1127169942Sobrien	  don't treat it as a match
1128169942Sobrien
1129169942Sobrien	* change the magic strength algorithm to take
1130169942Sobrien	  into account the relationship op.
1131169942Sobrien
1132169942Sobrien	* fix a bug in search where we could accidentally
1133169942Sobrien	  return a match.
1134169942Sobrien
1135169942Sobrien	* propagate the error return from match to
1136169942Sobrien	  file_softmagic.
1137169942Sobrien
1138186691Sobrien2006-11-25 13:35 Christos Zoulas <christos@astron.com>
1139191771Sobrien
1140169942Sobrien	* Don't store the current offset in the magic
1141169942Sobrien	  struct, because it needs to be restored and
1142169942Sobrien	  it was not done properly all the time. Bug
1143169942Sobrien	  found by: Arkadiusz Miskiewicz
1144169942Sobrien
1145169942Sobrien	* Fix problem in the '\0' separator; and don't
1146169942Sobrien	  print it as an additional separator; print
1147169942Sobrien	  it as the only separator.
1148169942Sobrien
1149186691Sobrien2006-11-17 10:51 Christos Zoulas <christos@astron.com>
1150169942Sobrien
1151169942Sobrien	* Added a -0 option to print a '\0' separator
1152169942Sobrien	  Etienne Buira <etienne.buira@free.fr>
1153169942Sobrien
1154186691Sobrien2006-10-31 15:14 Christos Zoulas <christos@astron.com>
1155169942Sobrien
1156169942Sobrien	* Check offset before copying (Mike Frysinger)
1157169942Sobrien
1158169942Sobrien	* merge duplicated code
1159169942Sobrien
1160169942Sobrien	* add quad date support
1161169942Sobrien
1162169942Sobrien	* make sure that we nul terminate desc (Ryoji Kanai)
1163169942Sobrien
1164169942Sobrien	* don't process elf notes multiple times
1165169942Sobrien
1166169942Sobrien	* allow -z to report empty compressed files
1167169942Sobrien
1168169942Sobrien	* use calloc to initialize the ascii buffers (Jos van den Oever)
1169169942Sobrien
1170186691Sobrien2006-06-08 11:11 Christos Zoulas <christos@astron.com>
1171169942Sobrien
1172169942Sobrien	* QNX fixes (Mike Gorchak)
1173169942Sobrien
1174169942Sobrien	* Add quad support.
1175169942Sobrien
1176169942Sobrien	* FIFO checks (Dr. Werner Fink)
1177169942Sobrien
1178169942Sobrien	* Linux ELF fixes (Dr. Werner Fink)
1179169942Sobrien
1180169942Sobrien	* Magic format checks (Dr. Werner Fink)
1181169942Sobrien
1182169942Sobrien	* Magic format function improvent (Karl Chen)
1183169942Sobrien
1184186691Sobrien2006-05-03 11:11 Christos Zoulas <christos@astron.com>
1185169942Sobrien
1186169942Sobrien	* Pick up some elf changes and some constant fixes from SUSE
1187169942Sobrien
1188169942Sobrien	* Identify gnu tar vs. posix tar
1189169942Sobrien
1190268515Sdelphij	* When keep going, don't print spurious newlines (Radek Vokal)
1191169942Sobrien
1192186691Sobrien2006-04-01 12:02 Christos Zoulas <christos@astron.com>
1193169942Sobrien
1194169942Sobrien	* Use calloc instead of malloc (Mike Frysinger)
1195169942Sobrien
1196169942Sobrien	* Fix configure script to detect wctypes.h (Mike Frysinger)
1197169942Sobrien
1198186691Sobrien2006-03-02 16:06 Christos Zoulas <christos@astron.com>
1199159764Sobrien
1200159764Sobrien	* Print empty if the file is (Mike Frysinger)
1201159764Sobrien
1202159764Sobrien	* Don't try to read past the end of the buffer (Mike Frysinger)
1203159764Sobrien
1204159764Sobrien	* Sort magic entries by strength [experimental]
1205159764Sobrien
1206186691Sobrien2005-11-29 13:26 Christos Zoulas <christos@astron.com>
1207159764Sobrien
1208159764Sobrien	* Use iswprint() to convert the output string.
1209159764Sobrien	    (Bastien Nocera)
1210159764Sobrien
1211186691Sobrien2005-10-31 8:54 Christos Zoulas <christos@astron.com>
1212159764Sobrien
1213159764Sobrien	* Fix regression where the core info was not completely processed
1214268515Sdelphij	    (Radek Vokal)
1215159764Sobrien
1216186691Sobrien2005-10-20 11:15 Christos Zoulas <christos@astron.com>
1217159764Sobrien
1218159764Sobrien	* Middle Endian magic (Diomidis Spinellis)
1219159764Sobrien
1220186691Sobrien2005-10-17 11:15 Christos Zoulas <christos@astron.com>
1221159764Sobrien
1222159764Sobrien	* Open with O_BINARY for CYGWIN (Corinna Vinschen)
1223159764Sobrien
1224159764Sobrien	* Don't close stdin (Arkadiusz Miskiewicz)
1225159764Sobrien
1226159764Sobrien	* Look for note sections in non executables.
1227159764Sobrien
1228186691Sobrien2005-09-20 13:33 Christos Zoulas <christos@astron.com>
1229191771Sobrien
1230159764Sobrien	* Don't print SVR4 Style in core files multiple times
1231268515Sdelphij	    (Radek Vokal)
1232159764Sobrien
1233186691Sobrien2005-08-27 04:09 Christos Zoulas <christos@astron.com>
1234159764Sobrien
1235159764Sobrien	* Cygwin changes Corinna Vinschen
1236159764Sobrien
1237186691Sobrien2005-08-18 09:53 Christos Zoulas <christos@astron.com>
1238159764Sobrien
1239159764Sobrien	* Remove erroreous mention of /etc/magic in the file man page
1240191771Sobrien	  This is gentoo bug 101639. (Mike Frysinger)
1241159764Sobrien
1242191771Sobrien	* Cross-compile support and detection (Mike Frysinger)
1243159764Sobrien
1244186691Sobrien2005-08-12 10:17 Christos Zoulas <christos@astron.com>
1245159764Sobrien
1246159764Sobrien	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
1247159764Sobrien	  is set.
1248159764Sobrien
1249186691Sobrien2005-07-29 13:57 Christos Zoulas <christos@astron.com>
1250159764Sobrien
1251159764Sobrien	* Avoid search and regex buffer overflows (Kelledin)
1252159764Sobrien
1253186691Sobrien2005-07-12 11:48 Christos Zoulas <christos@astron.com>
1254159764Sobrien
1255159764Sobrien	* Provide stub implementations for {v,}nsprintf() for older
1256159764Sobrien	  OS's that don't have them.
1257159764Sobrien	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
1258159764Sobrien	  to AC_TYPE_MBSTATE_T.
1259159764Sobrien
1260186691Sobrien2005-06-25 11:48 Christos Zoulas <christos@astron.com>
1261159764Sobrien
1262159764Sobrien	* Dynamically allocate the string buffers and make the
1263159764Sobrien	  default read size 256K.
1264159764Sobrien
1265159764Sobrien2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
1266159764Sobrien
1267159764Sobrien	* Dragonfly ELF note support
1268159764Sobrien
1269159764Sobrien2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
1270159764Sobrien
1271159764Sobrien	* Avoid NULL pointer dereference in time conversion.
1272159764Sobrien
1273159764Sobrien2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
1274191771Sobrien
1275159764Sobrien	* Add indirect magic offset support, and search mode.
1276159764Sobrien
1277159764Sobrien2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
1278159764Sobrien
1279191771Sobrien	* src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
1280191771Sobrien	  If a CRLF text file happens to have CR at offset HOWMANY - 1
1281191771Sobrien	  (currently 0xffff), it should not be counted as CR line
1282191771Sobrien	  terminator.
1283191771Sobrien	  If a line has length exactly MAXLINELEN, it should not yet be
1284191771Sobrien	  treated as a ``very long line'', as MAXLINELEN is ``longest sane
1285191771Sobrien	  line length''.
1286191771Sobrien	  With CRLF, the line length was not computed correctly, and even
1287191771Sobrien	  lines of length MAXLINELEN - 1 were treated as ``very long''.
1288159764Sobrien
1289186691Sobrien2004-12-07 14:15  Christos Zoulas  <christos@astron.com>
1290159764Sobrien
1291159764Sobrien	* bzip2 needs a lot of input buffer space on some files
1292159764Sobrien	  before it can begin uncompressing. This makes file -z
1293159764Sobrien	  fail on some bz2 files. Fix it by giving it a copy of
1294159764Sobrien	  the file descriptor to read as much as it wants if we
1295186691Sobrien	  have access to it. <christos@astron.com>
1296159764Sobrien
1297186691Sobrien2004-11-24 12:39  Christos Zoulas  <christos@astron.com>
1298133359Sobrien
1299139368Sobrien	* Stack smash fix, and ELF more conservative reading.
1300139368Sobrien	  Jakub Bogusz <qboosh@pld-linux.org>
1301139368Sobrien
1302186691Sobrien2004-11-20 18:50  Christos Zoulas  <christos@astron.com>
1303139368Sobrien
1304139368Sobrien	* New FreeBSD version parsing code:
1305139368Sobrien	  Jon Noack <noackjr@alumni.rice.edu>
1306139368Sobrien
1307186691Sobrien	* Hackish support for ucs16 strings <christos@astron.com>
1308139368Sobrien
1309186691Sobrien2004-11-13 03:07  Christos Zoulas  <christos@astron.com>
1310139368Sobrien
1311139368Sobrien	* print the file name and line number in syntax errors.
1312139368Sobrien
1313186691Sobrien2004 10-12 10:50  Christos Zoulas  <christos@astron.com>
1314139368Sobrien
1315139368Sobrien	* Fix stack overwriting on 0 length strings: Tim Waugh
1316139368Sobrien	    <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
1317139368Sobrien
1318186691Sobrien2004-09-27 11:30  Christos Zoulas  <christos@astron.com>
1319139368Sobrien
1320139368Sobrien	* Remove 3rd and 4th copyright clause; approved by Ian Darwin.
1321139368Sobrien
1322191771Sobrien	* Fix small memory leaks; caught by: Tamas Sarlos
1323139368Sobrien	    <stamas@csillag.ilab.sztaki.hu>
1324139368Sobrien
1325186691Sobrien2004-07-24 16:33  Christos Zoulas  <christos@astron.com>
1326133359Sobrien
1327191771Sobrien	* magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
1328133359Sobrien
1329133359Sobrien	* FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
1330133359Sobrien
1331133359Sobrien	* utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
1332133359Sobrien
1333133359Sobrien  	* errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
1334133359Sobrien
1335186691Sobrien2004-04-12 10:55  Christos Zoulas  <christos@astron.com>
1336133359Sobrien
1337133359Sobrien	* make sure that magic formats match magic types during compilation
1338133359Sobrien
1339133359Sobrien	* fix broken sgi magic file
1340133359Sobrien
1341186691Sobrien2004-04-06 20:36  Christos Zoulas  <christos@astron.com>
1342133359Sobrien
1343133359Sobrien	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
1344133359Sobrien
1345133359Sobrien	* magic fixes
1346133359Sobrien
1347186691Sobrien2004-03-22 15:25  Christos Zoulas  <christos@astron.com>
1348133359Sobrien
1349133359Sobrien	* Lots of mime fixes
1350133359Sobrien	  (Joerg Ostertag) <ostertag@rechengilde.de>
1351133359Sobrien
1352133359Sobrien	* FreeBSD ELF version handling
1353133359Sobrien	  (Edwin Groothuis) <edwin@mavetju.org>
1354133359Sobrien
1355133359Sobrien	* correct cleanup in all cases; don't just close the file.
1356186691Sobrien	  (Christos Zoulas) <christos@astron.com>
1357133359Sobrien
1358133359Sobrien	* add gettext message catalogue support
1359133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1360133359Sobrien
1361133359Sobrien	* better printout for unreadable files
1362133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1363133359Sobrien
1364133359Sobrien	* compensate for missing MAXPATHLEN
1365133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1366133359Sobrien
1367133359Sobrien	* add wide character string length computation
1368133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1369133359Sobrien
1370133359Sobrien	* Avoid infinite loops caused by bad elf alignments
1371133359Sobrien	  or name and description note sizes. Reported by
1372133359Sobrien	  (Mikael Magnusson) <mmikael@comhem.se>
1373133359Sobrien
1374186691Sobrien2004-03-09 13:55  Christos Zoulas  <christos@astron.com>
1375133359Sobrien
1376133359Sobrien	* Fix possible memory leak on error and add missing regfree
1377133359Sobrien	  (Dmitry V. Levin) <ldv@altlinux.org>
1378133359Sobrien
1379186691Sobrien2003-12-23 12:12  Christos Zoulas  <christos@astron.com>
1380133359Sobrien
1381133359Sobrien	* fix -k flag (Maciej W. Rozycki)
1382133359Sobrien
1383186691Sobrien2003-11-18 14:10  Christos Zoulas  <christos@astron.com>
1384133359Sobrien
1385133359Sobrien	* Try to give us much info as possible on corrupt elf files.
1386133359Sobrien	  (Willy Tarreau) <willy@w.ods.org>
1387133359Sobrien	* Updated python bindings (Brett Funderburg)
1388133359Sobrien	   <brettf@deepfile.com>
1389133359Sobrien
1390186691Sobrien2003-11-11 15:03  Christos Zoulas  <christos@astron.com>
1391133359Sobrien
1392133359Sobrien	* Include file.h first, because it includes config.h
1393133359Sobrien	  breaks largefile test macros otherwise.
1394133359Sobrien	  (Paul Eggert <eggert@CS.UCLA.EDU> via
1395133359Sobrien	   Lars Hecking <lhecking@nmrc.ie>)
1396133359Sobrien
1397186691Sobrien2003-10-14 21:39  Christos Zoulas  <christos@astron.com>
1398133359Sobrien
1399133359Sobrien	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
1400133359Sobrien	* Don't lookup past the end of the buffer
1401133359Sobrien	  (Chad Hanson) <chanson@tcs-sec.com>
1402133359Sobrien	* Add MAGIC_ERROR and api on magic_errno()
1403133359Sobrien
1404186691Sobrien2003-10-08 12:40  Christos Zoulas  <christos@astron.com>
1405133359Sobrien
1406133359Sobrien	* handle error conditions from compile as fatal
1407133359Sobrien	  (Antti Kantee) <pooka@netbsd.org>
1408133359Sobrien	* handle magic filename parsing sanely
1409133359Sobrien	* more magic fixes.
1410133359Sobrien	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
1411133359Sobrien	* describe magic file handling
1412133359Sobrien	  (Bryan Henderson) <bryanh@giraffe-data.com>
1413133359Sobrien
1414186691Sobrien2003-09-12 15:09  Christos Zoulas  <christos@astron.com>
1415133359Sobrien
1416133359Sobrien	* update magic files.
1417133359Sobrien	* remove largefile support from file.h; it breaks things on most OS's
1418133359Sobrien
1419186691Sobrien2003-08-10 10:25  Christos Zoulas  <christos@astron.com>
1420133359Sobrien
1421133359Sobrien	* fix unmapping'ing of mmaped files.
1422133359Sobrien
1423186691Sobrien2003-07-10 12:03  Christos Zoulas  <christos@astron.com>
1424133359Sobrien
1425133359Sobrien	* don't exit with -1 on error; always exit 1 (Marty Leisner)
1426133359Sobrien	* restore utimes code.
1427133359Sobrien
1428186691Sobrien2003-06-10 17:03  Christos Zoulas  <christos@astron.com>
1429133359Sobrien
1430133359Sobrien	* make sure we don't access uninitialized memory.
1431133359Sobrien	* pass lint
1432133359Sobrien	* #ifdef __cplusplus in magic.h
1433133359Sobrien
1434186691Sobrien2003-05-25 19:23  Christos Zoulas  <christos@astron.com>
1435133359Sobrien
1436133359Sobrien	* rename cvs magic file to revision to deal with
1437133359Sobrien	  case insensitive filesystems.
1438133359Sobrien
1439186691Sobrien2003-05-23 17:03  Christos Zoulas  <christos@astron.com>
1440133359Sobrien
1441133359Sobrien	* documentation fixes from Michael Piefel <piefel@debian.org>
1442133359Sobrien	* magic fixes (various)
1443133359Sobrien	* revert basename magic in .mgc name determination
1444133359Sobrien	* buffer protection in uncompress,
1445133359Sobrien	  signness issues,
1446133359Sobrien	  close files
1447133359Sobrien	  Maciej W. Rozycki <macro@ds2.pg.gda.pl
1448133359Sobrien
1449186691Sobrien2003-04-21 20:12  Christos Zoulas  <christos@astron.com>
1450133359Sobrien
1451133359Sobrien	* fix zsh magic
1452133359Sobrien
1453186691Sobrien2003-04-04 16:59  Christos Zoulas  <christos@astron.com>
1454133359Sobrien
1455133359Sobrien	* fix operand sort order in string.
1456133359Sobrien
1457186691Sobrien2003-04-02 17:30  Christos Zoulas  <christos@astron.com>
1458133359Sobrien
1459133359Sobrien	* cleanup namespace in magic.h
1460133359Sobrien
1461186691Sobrien2003-04-02 13:50  Christos Zoulas  <christos@astron.com>
1462133359Sobrien
1463133359Sobrien	* Magic additions (Alex Ott)
1464133359Sobrien	* Fix bug that broke VPATH compilation (Peter Breitenlohner)
1465133359Sobrien
1466186691Sobrien2003-03-28 16:03  Christos Zoulas  <christos@astron.com>
1467133359Sobrien
1468133359Sobrien	* remove packed attribute from magic struct.
1469133359Sobrien	* make the magic struct properly aligned.
1470133359Sobrien	* bump version number of compiled files to 2.
1471133359Sobrien
1472186691Sobrien2003-03-27 13:10  Christos Zoulas  <christos@astron.com>
1473133359Sobrien
1474133359Sobrien	* separate tar detection and run it before softmagic.
1475133359Sobrien	* fix reversed symlink test.
1476133359Sobrien	* fix version printing.
1477133359Sobrien	* make separator a string instead of a char.
1478133359Sobrien	* update manual page and sort options.
1479133359Sobrien
1480186691Sobrien2003-03-26 11:00  Christos Zoulas  <christos@astron.com>
1481133359Sobrien
1482133359Sobrien	* Pass lint
1483133359Sobrien	* make NULL in magic_file mean stdin
1484133359Sobrien	* Fix "-" argument to file to pass NULL to magic_file
1485133359Sobrien	* avoid pointer casts by using memcpy
1486133359Sobrien	* rename magic_buf -> magic_buffer
1487133359Sobrien	* keep only the first error
1488133359Sobrien	* manual page: new sentence, new line
1489133359Sobrien	* fix typo in api function (magic_buf -> magic_buffer)
1490