ChangeLog revision 284277
1284277Sdelphij2015-06-11   8:52  Christos Zoulas <christos@zoulas.com>
2284237Sdelphij
3284277Sdelphij	* redo long option encoding to fix off-by-one in 5.23
4284277Sdelphij
5284237Sdelphij2015-06-10  13:50  Christos Zoulas <christos@zoulas.com>
6284237Sdelphij
7284237Sdelphij	* release 5.23
8284237Sdelphij
9284237Sdelphij2015-06-09  16:10  Christos Zoulas <christos@zoulas.com>
10284237Sdelphij	
11284237Sdelphij	* Fix issue with regex range for magic with offset
12284237Sdelphij	* Always return true from mget with USE (success to mget not match
13284237Sdelphij	  indication). Fixes mime evaluation after USE magic
14284237Sdelphij	* PR/459: Don't insert magic entries to the list if there are parsing
15284237Sdelphij	  errors for them.
16284237Sdelphij
17284237Sdelphij2015-06-03  16:00  Christos Zoulas <christos@zoulas.com>
18284237Sdelphij
19284237Sdelphij	* PR/455: Add utf-7 encoding
20284237Sdelphij
21284237Sdelphij2015-06-03  14:30  Christos Zoulas <christos@zoulas.com>
22284237Sdelphij
23284237Sdelphij	* PR/455: Implement -Z, look inside, but don't report on compression
24284237Sdelphij	* PR/454: Fix allocation error on bad magic.
25284237Sdelphij
26284237Sdelphij2015-05-29  10:30  Christos Zoulas <christos@zoulas.com>
27284237Sdelphij
28284237Sdelphij	* handle MAGIC_CONTINUE everywhere, not just in softmagic
29284237Sdelphij
30284237Sdelphij2015-05-21  14:30  Christos Zoulas <christos@zoulas.com>
31284237Sdelphij
32284237Sdelphij	* don't print descriptions for NAME types when mime.
33284237Sdelphij
34284237Sdelphij2015-04-09  15:59  Christos Zoulas <christos@zoulas.com>
35284237Sdelphij
36284237Sdelphij	* Add --extension to list the known extensions for this file type
37284237Sdelphij	  Idea by Andrew J Roazen
38284237Sdelphij
39284237Sdelphij2015-02-14  12:23  Christos Zoulas <christos@zoulas.com>
40284237Sdelphij
41284237Sdelphij	* Bump file search buffer size to 1M.
42284237Sdelphij
43284237Sdelphij2015-01-09  14:35  Christos Zoulas <christos@zoulas.com>
44284237Sdelphij
45284237Sdelphij	* Fix multiple issues with date formats reported by Christoph Biedl:
46284237Sdelphij		- T_LOCAL meaning was reversed
47284237Sdelphij		- Arithmetic did not work
48284237Sdelphij	  Also stop adjusting daylight savings for gmt printing.
49284237Sdelphij
50284237Sdelphij2015-01-05  13:00  Christos Zoulas <christos@zoulas.com>
51284237Sdelphij
52284237Sdelphij	* PR/411: Fix memory corruption from corrupt cdf file.
53284237Sdelphij
54276577Sdelphij2015-01-02  15:15  Christos Zoulas <christos@zoulas.com>
55276577Sdelphij
56276577Sdelphij	* release 5.22
57276577Sdelphij
58276577Sdelphij2015-01-01  12:01  Christos Zoulas <christos@zoulas.com>
59276577Sdelphij
60276577Sdelphij	* add indirect relative for TIFF/Exif
61276577Sdelphij
62276577Sdelphij2014-12-16  18:10  Christos Zoulas <christos@zoulas.com>
63276577Sdelphij	
64276577Sdelphij	* restructure elf note printing to avoid repeated messages
65276577Sdelphij	* add note limit, suggested by Alexander Cherepanov
66276577Sdelphij
67276577Sdelphij2014-12-16  16:53  Christos Zoulas <christos@zoulas.com>
68276577Sdelphij	
69276577Sdelphij	* Bail out on partial pread()'s (Alexander Cherepanov)
70276577Sdelphij	* Fix incorrect bounds check in file_printable (Alexander Cherepanov)
71276577Sdelphij
72276577Sdelphij2014-12-11  20:01  Christos Zoulas <christos@zoulas.com>
73276577Sdelphij
74276577Sdelphij	* PR/405: ignore SIGPIPE from uncompress programs
75276577Sdelphij	* change printable -> file_printable and use it in
76276577Sdelphij	  more places for safety
77276577Sdelphij	* in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
78276577Sdelphij	  is present print the interpreter name.
79276577Sdelphij	
80275698Sdelphij2014-12-10  20:01  Christos Zoulas <christos@zoulas.com>
81275698Sdelphij
82275698Sdelphij	* release 5.21
83275698Sdelphij
84275698Sdelphij2014-11-27  18:40  Christos Zoulas <christos@zoulas.com>
85275698Sdelphij
86275698Sdelphij	* Allow setting more parameters from the command line.
87275698Sdelphij	* Split name/use and indirect magic recursion limits.
88275698Sdelphij
89275698Sdelphij2014-11-27  11:12  Christos Zoulas <christos@zoulas.com>
90275698Sdelphij
91275698Sdelphij	* Adjust ELF parameters and the default recursion
92275698Sdelphij	  level.
93275698Sdelphij	* Allow setting the recursion level dynamically.
94275698Sdelphij
95275698Sdelphij2014-11-24   8:55  Christos Zoulas <christos@zoulas.com>
96275698Sdelphij
97275698Sdelphij	* The following fixes resulted from Thomas Jarosch's fuzzing
98275698Sdelphij	  tests that revealed severe performance issues on pathological
99275698Sdelphij	  input:
100275698Sdelphij	    - limit number of elf program and sections processing
101275698Sdelphij	    - abort elf note processing quickly
102275698Sdelphij	    - reduce the number of recursion levels from 20 to 10
103275698Sdelphij	    - preserve error messages in indirect magic handling
104275698Sdelphij
105276577Sdelphij	This is tracked as CVE-2014-8116 and CVE-2014-8117
106276577Sdelphij
107275698Sdelphij2014-11-12  10:30  Christos Zoulas <christos@zoulas.com>
108275698Sdelphij
109275698Sdelphij	* fix bogus free in the user buffer case.
110275698Sdelphij
111275698Sdelphij2014-11-11  12:35  Christos Zoulas <christos@zoulas.com>
112275698Sdelphij
113275698Sdelphij	* fix out of bounds read for pascal strings
114275698Sdelphij	* fix memory leak (not freeing the head of each mlist)
115275698Sdelphij
116275698Sdelphij2014-11-07  10:25  Christos Zoulas <christos@zoulas.com>
117275698Sdelphij
118275698Sdelphij	* When printing strings from a file, convert them to printable
119275698Sdelphij	  on a byte by byte basis, so that we don't get issues with
120275698Sdelphij	  locale's trying to interpret random byte streams as UTF-8 and
121275698Sdelphij	  having printf error out with EILSEQ.
122275698Sdelphij	  
123275698Sdelphij2014-10-17  11:48  Christos Zoulas <christos@zoulas.com>
124275698Sdelphij
125275698Sdelphij	* fix bounds in note reading (Francisco Alonso / Red Hat)
126275698Sdelphij
127275698Sdelphij2014-10-11  15:02  Christos Zoulas <christos@zoulas.com>
128275698Sdelphij
129275698Sdelphij	* fix autoconf glue for setlocale and locale_t; some OS's
130275698Sdelphij	  have locale_t in xlocale.h
131275698Sdelphij
132275698Sdelphij2014-10-10  15:01  Christos Zoulas <christos@zoulas.com>
133275698Sdelphij
134275698Sdelphij	* release 5.20
135275698Sdelphij
136275698Sdelphij2014-08-17  10:01  Christos Zoulas <christos@zoulas.com>
137275698Sdelphij
138275698Sdelphij	* recognize encrypted CDF documents
139275698Sdelphij
140275698Sdelphij2014-08-04   9:18  Christos Zoulas <christos@zoulas.com>
141275698Sdelphij
142275698Sdelphij	* add magic_load_buffers from Brooks Davis
143275698Sdelphij
144275698Sdelphij2014-07-24  16:40  Christos Zoulas <christos@zoulas.com>
145275698Sdelphij
146275698Sdelphij	* add thumbs.db support
147275698Sdelphij
148267897Sdelphij2014-06-12  12:28  Christos Zoulas <christos@zoulas.com>
149267897Sdelphij
150267897Sdelphij	* release 5.19
151267897Sdelphij
152267897Sdelphij2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>
153267897Sdelphij	
154267897Sdelphij	* Misc buffer overruns and missing buffer size tests in cdf parsing
155267897Sdelphij	  (Francisco Alonso, Jan Kaluza)
156267897Sdelphij
157267897Sdelphij2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>
158267897Sdelphij
159267897Sdelphij	* Enforce limit of 8K on regex searches that have no limits
160267897Sdelphij	* Allow the l modifier for regex to mean line count. Default
161267897Sdelphij	  to byte count. If line count is specified, assume a max
162267897Sdelphij	  of 80 characters per line to limit the byte count.
163267897Sdelphij	* Don't allow conversions to be used for dates, allowing
164267897Sdelphij	  the mask field to be used as an offset.
165267897Sdelphij
166267897Sdelphij2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>
167267897Sdelphij
168267897Sdelphij	* Make the range operator limit the length of the
169267897Sdelphij	  regex search.
170267897Sdelphij
171267897Sdelphij2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>
172267897Sdelphij
173267897Sdelphij	* PR/347: Windows fixes
174267897Sdelphij	* PR/352: Hangul word processor recognition
175267897Sdelphij	* PR/354: Encoding irregularities in text files
176267897Sdelphij
177267897Sdelphij2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>
178267897Sdelphij
179267897Sdelphij	* Fix uninitialized title in CDF files (Jan Kaluza)
180267897Sdelphij
181267897Sdelphij2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>
182267897Sdelphij
183267897Sdelphij	* PR/351: Fix compilation of empty files 
184267897Sdelphij
185267897Sdelphij2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>
186267897Sdelphij
187267897Sdelphij	* Fix integer formats: We don't specify 'l' or
188267897Sdelphij	  'h' and 'hh' specifiers anymore, only 'll' for
189267897Sdelphij	  quads and nothing for the rest. This is so that
190267897Sdelphij	  magic writing is simpler.
191267897Sdelphij
192267897Sdelphij2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>
193267897Sdelphij
194267897Sdelphij	* PR/341: Jan Kaluza, fix memory leak
195267897Sdelphij	* PR/342: Jan Kaluza, fix out of bounds read
196267897Sdelphij
197267897Sdelphij2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>
198267897Sdelphij
199267897Sdelphij	* Fix issue with long formats not matching fmtcheck
200267897Sdelphij
201267897Sdelphij2014-03-26  11:25  Christos Zoulas <christos@zoulas.com>
202267897Sdelphij
203267897Sdelphij	* release 5.18
204267897Sdelphij
205267897Sdelphij2014-03-15  17:45  Christos Zoulas <christos@zoulas.com>
206267897Sdelphij
207267897Sdelphij	* add fmtcheck(3) for those who don't have it
208267897Sdelphij
209267897Sdelphij2014-03-14  15:12  Christos Zoulas <christos@zoulas.com>
210267897Sdelphij
211267897Sdelphij	* prevent mime entries from being attached to magic
212267897Sdelphij	  entries with no descriptions
213267897Sdelphij
214267897Sdelphij	* adjust magic strength for regex type
215267897Sdelphij
216267897Sdelphij	* remove superfluous ascmagic with encoding test
217267897Sdelphij
218267897Sdelphij2014-03-06  12:01  Christos Zoulas <christos@zoulas.com>
219267897Sdelphij
220267897Sdelphij	* fix regression fix echo -ne "\012\013\014" | file -i -
221267897Sdelphij	  which printed "binary" instead of "application/octet-stream"
222267897Sdelphij
223267897Sdelphij	* add size_t overflow check for magic file size
224267897Sdelphij
225267897Sdelphij2014-02-27  16:01  Christos Zoulas <christos@zoulas.com>
226267897Sdelphij
227267897Sdelphij	* experimental support for matching with CFD CLSID
228267897Sdelphij
229267897Sdelphij2014-02-18  13:04  Kimmo Suominen (kimmo@suominen.com)
230267897Sdelphij
231267897Sdelphij	* Cache old LC_CTYPE locale before setting it to "C", so
232267897Sdelphij	  we can use it to restore LC_CTYPE instead of asking
233267897Sdelphij	  setlocale() to scan the environment variables.
234267897Sdelphij
235267897Sdelphij2014-02-12  18:21  Christos Zoulas <christos@zoulas.com>
236267897Sdelphij
237267897Sdelphij	* Count recursion levels through indirect magic
238267897Sdelphij
239267897Sdelphij2014-02-11  10:40  Christos Zoulas <christos@zoulas.com>
240267897Sdelphij
241267897Sdelphij	* Prevent infinite recursion on files with indirect offsets of 0
242267897Sdelphij
243267897Sdelphij2014-01-30  21:00  Christos Zoulas <christos@zoulas.com>
244267897Sdelphij
245267897Sdelphij	* Add -E flag that makes file print filesystem errors to stderr
246267897Sdelphij	  and exit.
247267897Sdelphij
248267897Sdelphij2014-01-08  17:20  Christos Zoulas <christos@zoulas.com>
249267897Sdelphij
250267897Sdelphij	* mime printing could print results from multiple magic entries
251267897Sdelphij	  if there were multiple matches.
252267897Sdelphij	* in some cases overflow was not detected when computing offsets
253267897Sdelphij	  in softmagic.
254267897Sdelphij
255267897Sdelphij2013-12-05  12:00  Christos Zoulas <christos@zoulas.com>
256267897Sdelphij
257267897Sdelphij	* use strcasestr() to for cdf strings
258267897Sdelphij	* reset to the "C" locale while doing regex operations, or case
259267897Sdelphij	  insensitive comparisons; this is provisional
260267897Sdelphij
261267897Sdelphij2013-11-19  20:10  Christos Zoulas <christos@zoulas.com>
262267897Sdelphij
263267897Sdelphij	* always leave magic file loaded, don't unload for magic_check, etc.
264267897Sdelphij	* fix default encoding to binary instead of unknown which broke recently
265267897Sdelphij	* handle empty and one byte files, less specially so that
266267897Sdelphij	  --mime-encoding does not break completely.
267267897Sdelphij		`
268267897Sdelphij2013-11-06  14:40  Christos Zoulas <christos@zoulas.com>
269267897Sdelphij
270267897Sdelphij	* fix erroneous non-zero exit code from non-existant file and message
271267897Sdelphij
272267897Sdelphij2013-10-29  14:25  Christos Zoulas <christos@zoulas.com>
273267897Sdelphij
274267897Sdelphij	* add CDF MSI file detection (Guy Helmer)
275267897Sdelphij
276267897Sdelphij2013-09-03  11:56  Christos Zoulas <christos@zoulas.com>
277267897Sdelphij
278267897Sdelphij	* Don't mix errors and regular output if there was an error
279267897Sdelphij	* in magic_descriptor() don't close the file and try to restore
280267897Sdelphij	  its position
281267897Sdelphij
282267897Sdelphij2013-05-30  17:25  Christos Zoulas <christos@zoulas.com>
283267897Sdelphij
284267897Sdelphij	* Don't treat magic as an error if offset was past EOF (Christoph Biedl)
285267897Sdelphij
286267897Sdelphij2013-05-28  17:25  Christos Zoulas <christos@zoulas.com>
287267897Sdelphij	
288267897Sdelphij	* Fix spacing issues in softmagic and elf (Jan Kaluza)
289267897Sdelphij
290267897Sdelphij2013-05-02  18:00  Christos Zoulas <christos@zoulas.com>
291267897Sdelphij
292267897Sdelphij	* Fix segmentation fault with multiple magic_load commands.
293267897Sdelphij
294267897Sdelphij2013-04-22  11:20  Christos Zoulas <christos@zoulas.com>
295267897Sdelphij
296267897Sdelphij	* The way "default" was implemented was not very useful
297267897Sdelphij	  because the "if something was printed at that level"
298267897Sdelphij	  was not easily controlled by the user, and the format
299267897Sdelphij	  was bound to a string which is too restrictive. Add
300267897Sdelphij	  a "clear" for that level keyword and make "default"
301267897Sdelphij	  void. This way one can do:
302267897Sdelphij
303267897Sdelphij		>>13	clear	x
304267897Sdelphij		>>13	lelong	1	foo
305267897Sdelphij		>>13	lelong	2	bar
306267897Sdelphij		>>13	default	x
307267897Sdelphij		>>>13	lelong	x	unknown %x
308267897Sdelphij
309267897Sdelphij2013-03-25  13:20  Christos Zoulas <christos@zoulas.com>
310267897Sdelphij
311267897Sdelphij	* disallow strength setting in "name" entries
312267897Sdelphij
313267897Sdelphij2013-03-06  21:24  Christos Zoulas <christos@zoulas.com>
314267897Sdelphij
315267897Sdelphij	* fix recursive magic separator printing
316267897Sdelphij
317267897Sdelphij2013-02-26  19:28  Christos Zoulas <christos@zoulas.com>
318267897Sdelphij
319267897Sdelphij	* limit recursion level for mget
320267897Sdelphij	* fix pread() related breakage in cdf
321267897Sdelphij	* handle offsets properly in recursive "use"
322267897Sdelphij
323267897Sdelphij2013-02-18  10:39  Christos Zoulas <christos@zoulas.com>
324267897Sdelphij
325267897Sdelphij	* add elf reading of debug info to determine if file is stripped
326267897Sdelphij	  (Jan Kaluza)
327267897Sdelphij	* use pread()
328267897Sdelphij
329267897Sdelphij2013-01-25  18:05  Christos Zoulas <christos@zoulas.com>
330267897Sdelphij
331267897Sdelphij	* change mime description size from 64 to 80 to accommodate OOXML.
332267897Sdelphij
333267897Sdelphij2013-01-11  14:50  Christos Zoulas <christos@zoulas.com>
334267897Sdelphij
335267897Sdelphij	* Warn about inconsistent continuation levels.
336267897Sdelphij	* Change fsmagic to add a space after it prints.
337267897Sdelphij
338267897Sdelphij2013-01-10  21:00  Christos Zoulas <christos@zoulas.com>
339267897Sdelphij
340267897Sdelphij	* Make getline public so that file can link against it.
341267897Sdelphij	  Perhaps it is better to rename it, or hide it differently.
342267897Sdelphij	  Fixes builds on platforms that do not provide it.
343267897Sdelphij	  
344267897Sdelphij2013-01-07  16:30  Christos Zoulas <christos@zoulas.com>
345267897Sdelphij
346267897Sdelphij	* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
347267897Sdelphij	  what long, int, short, etc is (Guy Harris)
348267897Sdelphij
349267897Sdelphij2013-01-06  11:20  Christos Zoulas <christos@zoulas.com>
350267897Sdelphij
351267897Sdelphij	* add magic_version function and constant
352267897Sdelphij	* Redo memory allocation and de-allocation.
353267897Sdelphij	  (prevents double frees on non mmap platforms)
354267897Sdelphij	* Fix bug with name/use having to do with passing
355267897Sdelphij	  found state from the parent to the child and back.
356267897Sdelphij
357267897Sdelphij2012-12-19   8:47  Christos Zoulas <christos@zoulas.com>
358267897Sdelphij
359267897Sdelphij	* Only print elf capabilities for archs we know (Jan Kaluza)
360267897Sdelphij
361267897Sdelphij2012-10-30  19:14  Christos Zoulas <christos@zoulas.com>
362267897Sdelphij
363267897Sdelphij	* Add "name" and "use" file types in order to look
364267897Sdelphij	  inside mach-o files.
365267897Sdelphij
366267897Sdelphij2012-09-06  10:40  Christos Zoulas <christos@zoulas.com>
367267897Sdelphij
368267897Sdelphij	* make --version exit 0 (Matthew Schultz)
369267897Sdelphij	* add string/T (Jan Kaluza)
370267897Sdelphij
371267897Sdelphij2012-08-09  2:15  Christos Zoulas <christos@zoulas.com>
372267897Sdelphij
373267897Sdelphij	* add z and t modifiers for our own vasprintf
374267897Sdelphij	* search for $HOME/.magic.mgc if it is there first
375267897Sdelphij	* fix reads from a pipe, and preserve errno
376267897Sdelphij
377267897Sdelphij2012-05-15  13:12  Christos Zoulas <christos@zoulas.com>
378267897Sdelphij
379267897Sdelphij	* use ctime_r, asctime_r
380267897Sdelphij
381267897Sdelphij2012-04-06  17:18  Christos Zoulas <christos@zoulas.com>
382267897Sdelphij
383267897Sdelphij	* Fixes for indirect offsets to handle apple disk formats
384267897Sdelphij
385267897Sdelphij2012-04-03  18:26  Christos Zoulas <christos@zoulas.com>
386267897Sdelphij
387267897Sdelphij	* Add windows date field types
388267897Sdelphij	* More info for windows shortcuts (incomplete)
389267897Sdelphij
390234449Sobrien2012-02-20  17:33  Christos Zoulas <christos@zoulas.com>
391234449Sobrien
392234449Sobrien	* Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)
393234449Sobrien
394234449Sobrien2011-12-15  12:17  Chris Metcalf <cmetcalf@tilera.com>
395234449Sobrien
396234449Sobrien	* Support Tilera architectures (tile64, tilepro, tilegx).
397234449Sobrien
398234449Sobrien2011-12-16  16:33  Reuben Thomas <rrt@sc3d.org>
399234449Sobrien
400234449Sobrien	* Add magic for /usr/bin/env Perl scripts
401234449Sobrien	* Weaken generic script magic to avoid clashing with
402234449Sobrien	language-specific magic.
403234449Sobrien
404234449Sobrien2011-12-08  13:37  Reuben Thomas <rrt@sc3d.org>
405234449Sobrien
406234449Sobrien	* Simplify if (p) free(p) to free(p).
407234449Sobrien
408234449Sobrien2011-12-08  13:07  Reuben Thomas <rrt@sc3d.org>
409234449Sobrien
410234449Sobrien	* Remove hardwired token finding (names.h), turning it into soft
411234449Sobrien	magic. Patterns are either anchored regexs or search/8192. English
412234449Sobrien	language detection and PL/1 detection have been removed as they
413234449Sobrien	were too fragile. -e tokens is still accepted for backwards
414234449Sobrien	compatibility.
415234449Sobrien	* Move 3ds patterns (which are commented out anyway) into autodesk
416234449Sobrien	(they were, oddly, in c-lang).
417234449Sobrien
418234449Sobrien2011-12-06  00:16  Reuben Thomas <rrt@sc3d.org>
419234449Sobrien
420234449Sobrien	* Tweak strength of generic hash-bang detectors to be less than
421234449Sobrien	specific ones.
422234449Sobrien	* Make an inconsistent description of Python scripts consistent.
423234449Sobrien
424234449Sobrien2011-12-05  23:58  Reuben Thomas <rrt@sc3d.org>
425234449Sobrien
426234449Sobrien	* Fix minor error in file(1).
427234449Sobrien
428234449Sobrien2011-11-05  00:00  Reuben Thomas <rrt@sc3d.org>
429234449Sobrien
430234449Sobrien	* Fix issue #150 (I hope).
431234449Sobrien
432234449Sobrien2011-09-22  12:57  Christos Zoulas <christos@zoulas.com>
433234449Sobrien
434234449Sobrien	* Python3 binding fixes from Kelly Anderson
435234449Sobrien
436234449Sobrien2011-09-20  11:32  Christos Zoulas <christos@zoulas.com>
437234449Sobrien
438234449Sobrien	* If a string type magic entry is marked as text or binary
439234449Sobrien	  only match text files against text entries and binary
440234449Sobrien	  files against binary entries.
441234449Sobrien
442234449Sobrien2011-09-01  12:12  Christos Zoulas <christos@zoulas.com>
443234449Sobrien
444234449Sobrien	* Don't wait for any subprocess, just the one we forked.
445234449Sobrien
446234449Sobrien2011-08-26  16:40  Christos Zoulas <christos@zoulas.com>
447234449Sobrien
448234449Sobrien	* If the application name is not set in a cdf file, try to see
449234449Sobrien	  if it has a directory with the application name on it.
450234449Sobrien
451234449Sobrien2011-08-17  14:32  Christos Zoulas <christos@zoulas.com>
452234449Sobrien
453234449Sobrien	* Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
454234449Sobrien
455234449Sobrien2011-08-14  09:03  Christos Zoulas <christos@zoulas.com>
456234449Sobrien
457234449Sobrien	* Don't use variable string formats.
458234449Sobrien
459234449Sobrien2011-07-12  12:32  Reuben Thomas <rrt@sc3d.org>
460234449Sobrien
461234449Sobrien	* Fix detection of Zip files (Mantis #128).
462234449Sobrien	* Make some minor improvements to file(1).
463234449Sobrien	* Rename MIME types for filesystem objects for consistency with
464234449Sobrien	  xdg-utils. Typically this means that application/x-foo becomes
465234449Sobrien	  inode/foo, but some names also change slightly, e.g.
466234449Sobrien	  application/x-character-device becomes inode/chardevice.
467234449Sobrien
468234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
469234449Sobrien
470234449Sobrien	* fix mingw compilation (Abradoks)
471234449Sobrien
472234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
473234449Sobrien
474234449Sobrien	* remove patchlevel.h
475234449Sobrien	* Fix read past allocated memory caused by double-incrementing
476234449Sobrien	  a pointer in a loop (reported by Roberto Maar)
477234449Sobrien
478234449Sobrien2011-03-30  15:45  Christos Zoulas <christos@zoulas.com>
479234449Sobrien
480234449Sobrien	* Fix cdf string buffer setting (Sven Anders)
481234449Sobrien
482234449Sobrien2011-03-20  16:35  Christos Zoulas <christos@zoulas.com>
483234449Sobrien
484234449Sobrien	* Eliminate MAXPATHLEN and use dynamic allocation for
485234449Sobrien	  path and file buffers.
486234449Sobrien
487234449Sobrien2011-03-15  18:15  Christos Zoulas <christos@zoulas.com>
488234449Sobrien
489234449Sobrien	* binary tests on magic entries with masks could spuriously
490234449Sobrien	  get converted to ascii.
491234449Sobrien
492234449Sobrien2011-03-12  18:06  Reuben Thomas <rrt@sc3d.org>
493234449Sobrien
494234449Sobrien	* Improve file.man (remove BUGS, present email addresses consistently).
495234449Sobrien
496234449Sobrien2011-03-07  19:38  Christos Zoulas <christos@zoulas.com>
497234449Sobrien
498234449Sobrien	* add lrzip support (from Ville Skytta)
499234449Sobrien
500234449Sobrien2011-02-10  16:36  Christos Zoulas <christos@zoulas.com>
501234449Sobrien
502234449Sobrien	* fix CDF bounds checking (Guy Helmer)
503234449Sobrien
504234449Sobrien2011-02-10  12:03  Christos Zoulas <christos@zoulas.com>
505234449Sobrien
506234449Sobrien	* add cdf_ctime() that prints a meaningful error when time cannot
507234449Sobrien	  be converted.
508234449Sobrien
509234449Sobrien2011-02-02  20:40  Christos Zoulas <christos@zoulas.com>
510234449Sobrien
511234449Sobrien	* help and version output to stdout.
512234449Sobrien
513234449Sobrien	* When matching softmagic for ascii files, don't just print
514234449Sobrien	  the softmagic classification, keep going and print the
515234449Sobrien	  text classification too. This fixes broken troff files when
516234449Sobrien	  we moved them from keyword recognition to softmagic
517234449Sobrien	  (they stopped printing "with CRLF" etc.)
518234449Sobrien	  Reported by Doug McIlroy.
519234449Sobrien
520234449Sobrien2011-01-16  19:31  Reuben Thomas <rrt@sc3d.org>
521234449Sobrien
522234449Sobrien	* Fix two potential buffer overruns in apprentice_list.
523234449Sobrien
524234449Sobrien2011-01-14  22:33  Reuben Thomas <rrt@sc3d.org>
525234449Sobrien
526234449Sobrien	* New Python binding in pure Python.
527234449Sobrien	* Update libmagic(3).
528234449Sobrien
529234449Sobrien2011-01-06  21:40  Reuben Thomas <rrt@sc3d.org>
530234449Sobrien
531234449Sobrien	* Fix Python bindings (including recent Python 3 compatibility
532234449Sobrien	  update).
533234449Sobrien
534234449Sobrien2011-01-04  18:43  Reuben Thomas <rrt@sc3d.org>
535234449Sobrien
536234449Sobrien	* magic/Makefile.am: make it easier to recover from magic build failures.
537234449Sobrien	* Fix pstring length specifier parsing to avoid generating invalid
538234449Sobrien	  magic files.
539234449Sobrien	* Add pstring length "J" (for "JPEG") to specify that the length
540234449Sobrien	  include itself.
541234449Sobrien	* Fix JPEG comment parsing at last using pstring/HJ!
542234449Sobrien	* Ignore section 5 man pages in doc/.cvsignore.
543234449Sobrien
544234449Sobrien2010-12-22  13:12  Christos Zoulas <christos@zoulas.com>
545234449Sobrien
546234449Sobrien	* Add pstring/BHhLl to specify the type of the length of pascal
547234449Sobrien	  strings.
548234449Sobrien
549234449Sobrien2010-11-26  18:39  Reuben Thomas <rrt@sc3d.org>
550234449Sobrien
551234449Sobrien	* Fix "-e soft": it was ignored when softmagic was called
552234449Sobrien	  during asciimagic.
553234449Sobrien	* Improve comments and use "unsigned char" in tar.h/is_tar.c.
554234449Sobrien
555234449Sobrien2010-11-05  17:26  Reuben Thomas <rrt@sc3d.org>
556234449Sobrien
557234449Sobrien	* Make bug reporting addresses more visible.
558234449Sobrien
559234449Sobrien2010-11-01  18:35  Reuben Thomas <rrt@sc3d.org>
560234449Sobrien
561234449Sobrien	* Add tcl magic from Gustaf Neumann
562234449Sobrien
563234449Sobrien2010-10-24  10:42  Christos Zoulas <christos@zoulas.com>
564234449Sobrien
565234449Sobrien	* Fix the whitespace comparing code (Christopher Chittleborough)
566234449Sobrien
567234449Sobrien2010-10-06  21:05  Christos Zoulas <christos@zoulas.com>
568234449Sobrien
569234449Sobrien	* allow string/t to work (Jan Kaluza)
570234449Sobrien
571234449Sobrien2010-09-20  22:11  Reuben Thomas <rrt@sc3d.org>
572234449Sobrien
573234449Sobrien	* Apply some patches from Ubuntu and Fedora.
574234449Sobrien
575234449Sobrien2010-09-20  21:16  Reuben Thomas <rrt@sc3d.org>
576234449Sobrien
577234449Sobrien	* Apply all patches from Debian package 5.04-6 which have not
578234449Sobrien	  already been applied and are not Debian-specific.
579234449Sobrien
580234449Sobrien2010-09-20  15:24  Reuben Thomas <rrt@sc3d.org>
581234449Sobrien
582234449Sobrien	* Minor security fix to softmagic.c (don't use untrusted
583234449Sobrien	  string as printf format).
584234449Sobrien
585234449Sobrien2010-07-21  12:20  Christos Zoulas <christos@zoulas.com>
586234449Sobrien
587234449Sobrien	* MINGW32 portability from LRN
588234449Sobrien
589234449Sobrien	* Don't warn about escaping magic regex chars when we are in a regex.
590234449Sobrien
591234449Sobrien2010-07-19  10:55  Christos Zoulas <christos@zoulas.com>
592234449Sobrien
593234449Sobrien	* Only try to print prpsinfo for core files. (Jan Kaluza)
594234449Sobrien
595234449Sobrien2010-04-22  12:55  Christos Zoulas <christos@zoulas.com>
596234449Sobrien
597234449Sobrien	* Try more elf offsets for Debian core files.  (Arnaud Giersch)
598234449Sobrien
599234449Sobrien2010-02-20  15:18  Reuben Thomas <rrt@sc3d.org>
600234449Sobrien
601234449Sobrien	* Clarify which sort of CDF we mean.
602234449Sobrien
603234449Sobrien2010-02-14  22:58  Reuben Thomas <rrt@sc3d.org>
604234449Sobrien
605234449Sobrien	* Re-jig Zip file type magic so that unsupported special
606234449Sobrien	  Zip types (those with "mimetype" at offset 30) can be
607234449Sobrien	  recognized.
608234449Sobrien
609234449Sobrien2010-02-02  21:50  Reuben Thomas <rrt@sc3d.org>
610234449Sobrien
611234449Sobrien	* Add support for OCF (EPUB) files (application/epub+zip)
612234449Sobrien
613234449Sobrien2010-01-28  18:25  Christos Zoulas <christos@zoulas.com>
614234449Sobrien
615234449Sobrien	* Fix core-dump from unbound loop:
616234449Sobrien	  https://bugzilla.redhat.com/show_bug.cgi?id=533245
617234449Sobrien
618234449Sobrien2010-01-22  15:45  Christos Zoulas <christos@zoulas.com>
619234449Sobrien
620234449Sobrien	* print proper mime for crystal reports file
621234449Sobrien
622234449Sobrien	* print the last summary information of a cdf document, not the
623234449Sobrien	  first so that nested documents print the right info
624234449Sobrien
625234449Sobrien2010-01-16  18:42  Charles Longeau <chl@tuxfamily.org>
626234449Sobrien
627234449Sobrien	* bring back some fixes from OpenBSD:
628234449Sobrien		- make gcc2 builds file
629234449Sobrien		- fix typos in a magic file comment
630234449Sobrien
631234449Sobrien2009-11-17  18:35  Christos Zoulas <christos@zoulas.com>
632234449Sobrien
633234449Sobrien	* ctime/asctime can return NULL on some OS's although
634234449Sobrien	  they should not (Toshit Antani)
635234449Sobrien
636234449Sobrien2009-09-14  13:49  Christos Zoulas <christos@zoulas.com>
637234449Sobrien
638234449Sobrien	* Centralize magic path handling routines and remove the
639234449Sobrien	  special-casing from file.c so that the python module for
640234449Sobrien	  example comes up with the same magic path (Fixes ~/.magic
641234449Sobrien	  handling) (from Gab)
642234449Sobrien
643234449Sobrien2009-09-11  23:38  Reuben Thomas <rrt@sc3d.org>
644234449Sobrien
645234449Sobrien	* When magic argument is a directory, read the files in
646234449Sobrien	  strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
647234449Sobrien
648234449Sobrien2009-09-11  13:11  Reuben Thomas <rrt@sc3d.org>
649234449Sobrien
650234449Sobrien	* Combine overlapping epoc and psion magic files into one (epoc).
651234449Sobrien
652234449Sobrien	* Add some more EPOC MIME types.
653234449Sobrien
654234449Sobrien2009-08-19  15:55  Christos Zoulas <christos@zoulas.com>
655234449Sobrien
656234449Sobrien	* Fix 3 bugs (From Ian Darwin):
657234449Sobrien	    - file_showstr could move one past the end of the array
658234449Sobrien	    - parse_apple did not nul terminate the string in the overflow case
659234449Sobrien	    - parse_mime truncated the wrong string in the overflow case
660234449Sobrien
661234449Sobrien2009-08-12  12:28  Robert Byrnes  <byrnes@wildpumpkin.net>
662234449Sobrien
663234449Sobrien	* Include Localstuff when compiling magic.
664234449Sobrien
665234449Sobrien2009-07-15  10:05  Christos Zoulas <christos@zoulas.com>
666234449Sobrien
667234449Sobrien	* Fix logic for including mygetopts.h
668234449Sobrien
669234449Sobrien	* Make cdf.c compile again with debugging
670234449Sobrien
671234449Sobrien	* Add the necessary field handling for crystal reports files to work
672234449Sobrien
673234449Sobrien2009-06-23 01:34  Reuben Thomas <rrt@sc3d.org>
674234449Sobrien
675234449Sobrien	* Stop "(if" identifying Lisp files, that's plain dumb!
676234449Sobrien
677234449Sobrien2009-06-09 22:13  Reuben Thomas <rrt@sc3d.org>
678234449Sobrien
679234449Sobrien	* Add a couple of missing MP3 MIME types.
680234449Sobrien
681234449Sobrien2009-05-27 23:00  Reuben Thomas <rrt@sc3d.org>
682234449Sobrien
683234449Sobrien	* Add full range of hash-bang tests for Python and Ruby.
684234449Sobrien
685234449Sobrien	* Add MIME types for Python and Ruby scripts.
686234449Sobrien
687234449Sobrien2009-05-13  10:44  Christos Zoulas <christos@zoulas.com>
688234449Sobrien
689234449Sobrien	* off by one in parsing hw capabilities in elf
690234449Sobrien	  (Cheng Renquan)
691234449Sobrien
692234449Sobrien2009-05-08  13:40  Christos Zoulas <christos@zoulas.com>
693234449Sobrien	
694234449Sobrien	* lint fixes and more from NetBSD
695234449Sobrien
696192350Sdelphij2009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
697192350Sdelphij
698192350Sdelphij	* Avoid null dereference in cdf code (Drew Yao)
699192350Sdelphij
700192350Sdelphij	* More cdf bounds checks and overflow checks
701192350Sdelphij
702192350Sdelphij2009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
703192350Sdelphij
704192350Sdelphij	* Buffer overflow fixes from Drew Yao
705192350Sdelphij
706192350Sdelphij2009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
707192350Sdelphij
708192350Sdelphij	* Fix more cdf lossage. All the documents I have
709192350Sdelphij	  right now print the correct information.
710192350Sdelphij
711192350Sdelphij2009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
712192350Sdelphij
713192350Sdelphij	* don't print \012- separators in the same magic entry 
714192350Sdelphij	  if it consists of multiple magic printing lines.
715192350Sdelphij
716192350Sdelphij2009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
717192350Sdelphij
718192350Sdelphij	* Avoid file descriptor leak in compress code from
719192350Sdelphij	  (Daniel Novotny)
720192350Sdelphij
721192350Sdelphij2009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
722192350Sdelphij
723192350Sdelphij	* Allow escaping of relation characters, so that we can say \^[A-Z]
724192350Sdelphij	  and the ^ is not eaten as a relation char.
725192350Sdelphij
726192350Sdelphij	* Fix troff and fortran to their previous glory using
727192350Sdelphij	  regex. This was broken since their removel from ascmagic.
728192350Sdelphij
729192350Sdelphij2009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
730192350Sdelphij
731192350Sdelphij	* don't use strlen in strndup() (Toby Peterson)
732192350Sdelphij
733192350Sdelphij2009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
734192350Sdelphij
735192350Sdelphij	* avoid c99 syntax.
736192350Sdelphij
737192350Sdelphij2009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
738192350Sdelphij
739192350Sdelphij	* make the cdf code use the buffer first if available,
740192350Sdelphij	  and then the fd code.
741192350Sdelphij
742192350Sdelphij2009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
743192350Sdelphij
744192350Sdelphij	* look for struct option to determine if getopt.h is usable for IRIX.
745192350Sdelphij
746192350Sdelphij	* sanitize cdf document strings
747192350Sdelphij
748192350Sdelphij2009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
749192350Sdelphij
750192350Sdelphij	* fix OS/2 warnings.
751192350Sdelphij
752191771Sobrien2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
753191771Sobrien
754191771Sobrien	* fix initial offset calculation for non 4K sector files
755191771Sobrien
756191771Sobrien	* add loop limits to avoid DoS attacks by constructing
757191771Sobrien	  looping sector references.
758191771Sobrien
759191771Sobrien2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
760191771Sobrien
761191771Sobrien	* fix memory botches on cdf file parsing.
762191771Sobrien
763191771Sobrien	* exit with non-zero value for any error, not just for the last
764191771Sobrien	  file processed.
765191771Sobrien
766191771Sobrien2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
767191771Sobrien
768191771Sobrien	* Replace all str{cpy,cat} functions with strl{cpy,cat}
769191771Sobrien	* Ensure that strl{cpy,cat} are included in libmagic,
770191771Sobrien	  as needed.
771191771Sobrien
772191771Sobrien2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
773191771Sobrien
774191771Sobrien	* Handle ID3 format files.
775191771Sobrien
776191771Sobrien2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
777191771Sobrien
778191771Sobrien	* Fix --mime, --mime-type and --mime-encoding under new scheme.
779191771Sobrien
780191771Sobrien	* Rename "ascii" to "text" and add "encoding" test.
781191771Sobrien
782191771Sobrien	* Return a precise ("utf-16le" or "utf-16be") MIME charset for
783191771Sobrien	  UTF-16.
784191771Sobrien
785191771Sobrien	* Fix error in comment caused by automatic indentation adding
786191771Sobrien	  words!
787191771Sobrien
788191771Sobrien2008-11-06 10:35  Christos Zoulas <christos@astron.com>
789191771Sobrien
790191771Sobrien	* use memchr instead of strchr because the string
791191771Sobrien	  might not be NUL terminated (Scott MacVicar)
792191771Sobrien
793191771Sobrien2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
794191771Sobrien
795191771Sobrien	* Fix a printf with a non-literal format string.
796191771Sobrien
797191771Sobrien	* Fix formatting and punctuation of help for "--apple".
798191771Sobrien
799191771Sobrien2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
800191771Sobrien
801191771Sobrien	* Correct words counts in comments of struct magic.
802191771Sobrien
803191771Sobrien	* Fix handle_annotation to allow both Apple and MIME types to be
804191771Sobrien	  printed, and to return correct code if MIME type is
805191771Sobrien	  printed (1, not 0) or if there's an error (-1 not 1).
806191771Sobrien
807191771Sobrien	* Fix output of charset for MIME type (precede with semi-colon;
808191771Sobrien	  fixes Debian bug #501460).
809191771Sobrien
810191771Sobrien	* Fix potential attacks via conversion specifications in magic
811191771Sobrien	  strings.
812191771Sobrien
813191771Sobrien	* Add a FIXME for Debian bug #488562 (magic files should be
814191771Sobrien	  read in a defined order, by sorting the names).
815191771Sobrien
816191771Sobrien2008-10-18 16:45  Christos Zoulas <christos@astron.com>
817191771Sobrien
818191771Sobrien	* Added APPLE file creator/type
819191771Sobrien
820191771Sobrien2008-10-12 10:20  Christos Zoulas <christos@astron.com>
821191771Sobrien
822191771Sobrien	* Added CDF parsing
823191771Sobrien
824191771Sobrien2008-10-09 16:40  Christos Zoulas <christos@astron.com>
825191771Sobrien
826191771Sobrien	* filesystem and msdos patches (Joerg Jenderek)
827191771Sobrien
828191771Sobrien2008-10-09 13:20  Christos Zoulas <christos@astron.com>
829191771Sobrien
830191771Sobrien	* correct --exclude documentation issues: remove troff and fortran
831191771Sobrien	  and rename "token" to "tokens". (Randy McMurchy)
832191771Sobrien
833191771Sobrien2008-10-01 10:30  Christos Zoulas <christos@astron.com>
834191771Sobrien
835191771Sobrien	* Read ~/.magic in addition to the default magic file not instead
836191771Sobrien	  of, as documented in the man page.
837191771Sobrien
838191771Sobrien2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
839191771Sobrien
840191771Sobrien	* Comment out graphviz patterns, as they match too many files.
841191771Sobrien
842186691Sobrien2008-08-30 12:54  Christos Zoulas <christos@astron.com>
843175296Sobrien
844186691Sobrien	* Don't eat trailing \n in magic enties.
845186691Sobrien
846186691Sobrien	* Cast defines to allow compilation using a c++ compiler.
847186691Sobrien
848191771Sobrien2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
849191771Sobrien
850191771Sobrien	* Add text/x-lua MIME type for Lua scripts.
851191771Sobrien
852191771Sobrien	* Escape { in regex in graphviz patterns.
853191771Sobrien
854186691Sobrien2008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
855186691Sobrien
856186691Sobrien	* Add MIME types for special files.
857186691Sobrien
858186691Sobrien	* Use access to give more accurate information for files that
859186691Sobrien	  can't be opened.
860186691Sobrien
861186691Sobrien	* Add a TODO list.
862186691Sobrien
863186691Sobrien2008-07-02 11:15  Christos Zoulas  <christos@astron.com>
864186691Sobrien
865186691Sobrien	* add !:strength op to adjust magic strength (experimental)
866186691Sobrien
867186691Sobrien2008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
868186691Sobrien
869186691Sobrien	* Fix automake error in configure.ac.
870186691Sobrien
871186691Sobrien	* Add MIME type for Psion Sketch files.
872186691Sobrien
873186691Sobrien2008-06-05 08:59  Christos Zoulas  <christos@astron.com>
874186691Sobrien
875186691Sobrien	* Don't print warnings about bad namesize in stripped
876186691Sobrien	  binaries with PT_NOTE is still there, and the actual
877186691Sobrien	  note is gone (Jakub Jelinek)
878186691Sobrien
879186691Sobrien2008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
880186691Sobrien
881186691Sobrien	* magic/Magdir/elf:
882186691Sobrien	  Note invalid byte order for little-endian SPARC32PLUS.
883186691Sobrien	  Add SPARC V9 vendor extensions and memory model.
884186691Sobrien
885186691Sobrien	* src/elfclass.h:
886186691Sobrien	  Pass target machine to doshn (for Solaris hardware capabilities).
887186691Sobrien
888186691Sobrien	* src/readelf.c (doshn):
889186691Sobrien	  Add support for Solaris hardware/software capabilities.
890186691Sobrien
891186691Sobrien	* src/readelf.h:
892186691Sobrien	  Ditto.
893186691Sobrien
894186691Sobrien	* src/vasprintf.c (dispatch):
895186691Sobrien	  Add support for ll modifier.
896186691Sobrien
897186691Sobrien2008-05-16 10:25  Christos Zoulas  <christos@astron.com>
898186691Sobrien
899186691Sobrien	* Fix compiler warnings.
900186691Sobrien
901186691Sobrien	* remove stray printf, and fix a vprintf bug. (Martin Dorey)
902186691Sobrien
903186691Sobrien2008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
904186691Sobrien
905191771Sobrien	* src/Makefile.am:
906186691Sobrien	  Ensure that getopt_long and [v]asprintf are included in libmagic,
907186691Sobrien	  as needed.
908186691Sobrien
909186691Sobrien	  Remove unnecessary EXTRA_DIST.
910186691Sobrien
911191771Sobrien	* src/Makefile.in:
912186691Sobrien	  Rerun automake.
913186691Sobrien
914191771Sobrien	* src/vasprintf.c (dispatch):
915186691Sobrien	  Fix variable precision bug: be sure to step past '*'.
916186691Sobrien
917191771Sobrien	* src/vasprintf.c (core):
918186691Sobrien	  Remove unreachable code.
919186691Sobrien
920191771Sobrien	* src/apprentice.c (set_test_type):
921186691Sobrien	  Add cast to avoid compiler warning.
922186691Sobrien
923186691Sobrien2008-04-22 23:45  Christos Zoulas  <christos@astron.com>
924186691Sobrien
925186691Sobrien	* Add magic submission guidelines (Abel Cheung)
926186691Sobrien
927186691Sobrien	* split msdos and windows magic (Abel Cheung)
928186691Sobrien
929186691Sobrien2008-04-04 11:00  Christos Zoulas  <christos@astron.com>
930186691Sobrien
931191771Sobrien	* >= <= is not supported, so fix the magic and warn about it.
932186691Sobrien	  reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
933186691Sobrien
934186691Sobrien2008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
935186691Sobrien
936191771Sobrien	* src/readelf.c (donote):
937186691Sobrien	  ELF core file command name/line bug fixes and enhancements:
938186691Sobrien
939186691Sobrien	  Try larger offsets first to avoid false matches
940186691Sobrien	  from earlier data that happen to look like strings;
941186691Sobrien	  this primarily affected SunOS 5.x 32-bit Intel core files.
942186691Sobrien
943186691Sobrien	  Add support for command line (instead of just short name)
944186691Sobrien	  for SunOS 5.x.
945186691Sobrien
946186691Sobrien	  Add information about NT_PSINFO for SunOS 5.x.
947186691Sobrien
948186691Sobrien	  Only trim whitespace from end of command line.
949186691Sobrien
950186691Sobrien2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
951186691Sobrien
952186691Sobrien	* Change strength of ! from MULT to 0, as it matches almost
953186691Sobrien		  anything (Reuben Thomas)
954186691Sobrien
955186691Sobrien	* Debian fixes (Reuben Thomas)
956186691Sobrien
957186691Sobrien2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
958186691Sobrien
959186691Sobrien	* Clarify UTF-8 BOM message (Reuben Thomas)
960186691Sobrien
961186691Sobrien	* Add HTML comment to token list in names.h
962191771Sobrien
963186691Sobrien2007-02-04 15:50 Christos Zoulas <christos@astron.com>
964186691Sobrien
965186691Sobrien	* Debian fixes (Reuben Thomas)
966186691Sobrien
967186691Sobrien2007-02-04 11:31 Christos Zoulas <christos@astron.com>
968186691Sobrien
969186691Sobrien	* !:mime annotations in magic files (Reuben Thomas)
970186691Sobrien
971186691Sobrien2007-01-29 15:35 Christos Zoulas <christos@astron.com>
972186691Sobrien
973186691Sobrien	* zero out utime/utimes structs (Gavin Atkinson)
974186691Sobrien
975186691Sobrien2007-01-26 13:45 Christos Zoulas <christos@astron.com>
976186691Sobrien
977186691Sobrien	* reduce writable data from Diego "Flameeyes" Petten
978186691Sobrien
979186691Sobrien2007-12-28 15:06 Christos Zoulas <christos@astron.com>
980186691Sobrien
981175296Sobrien	* strtof detection
982175296Sobrien
983175296Sobrien	* remove bogus regex magic that could cause a DoS
984175296Sobrien
985175296Sobrien	* better mismatch version message
986175296Sobrien
987186691Sobrien2007-12-27 11:35 Christos Zoulas <christos@astron.com>
988175296Sobrien
989175296Sobrien	* bring back some fixes from OpenBSD
990175296Sobrien
991175296Sobrien	* treat ELF dynamic objects as executables
992175296Sobrien
993175296Sobrien	* fix gcc warnings
994175296Sobrien
995186691Sobrien2007-12-01 19:55 Christos Zoulas <christos@astron.com>
996175296Sobrien
997175296Sobrien	* make sure we have zlib.h and libz to compile the builtin
998175296Sobrien	  decompress code
999175296Sobrien
1000186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
1001175296Sobrien
1002191771Sobrien 	* float and double magic support (Behan Webster)
1003175296Sobrien
1004186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
1005175296Sobrien
1006175296Sobrien	* Convert fortran to a soft test (Reuben Thomas)
1007175296Sobrien
1008186691Sobrien2007-10-23  5:25 Christos Zoulas <christos@astron.com>
1009175296Sobrien
1010175296Sobrien	* Add --with-filename, and --no-filename (Reuben Thomas)
1011175296Sobrien
1012186691Sobrien2007-10-23  3:59 Christos Zoulas <christos@astron.com>
1013175296Sobrien
1014175296Sobrien	* Rest of the mime split (Reuben Thomas)
1015175296Sobrien
1016175296Sobrien	* Make usage message generated from the flags so that
1017175296Sobrien	  they stay consistent (Reuben Thomas)
1018175296Sobrien
1019186691Sobrien2007-10-20  3:06 Christos Zoulas <christos@astron.com>
1020175296Sobrien
1021175296Sobrien	* typo in comment, missing ifdef QUICK, remove unneeded code
1022175296Sobrien		(Charles Longeau)
1023175296Sobrien
1024186691Sobrien2007-10-17  3:33 Christos Zoulas <christos@astron.com>
1025175296Sobrien
1026175296Sobrien	* Fix problem printing -\012 in some entries
1027175296Sobrien
1028175296Sobrien	* Separate magic type and encoding flags (Reuben Thomas)
1029175296Sobrien
1030186691Sobrien2007-10-09  3:55 Christos Zoulas <christos@astron.com>
1031175296Sobrien
1032175296Sobrien	* configure fix for int64 and strndup (Reuben Thomas)
1033175296Sobrien
1034186691Sobrien2007-09-26  4:45 Christos Zoulas <christos@astron.com>
1035175296Sobrien
1036175296Sobrien	* Add magic_descriptor() function.
1037175296Sobrien
1038175296Sobrien	* Fix regression in elf reading code where the core name was
1039175296Sobrien	  not being printed.
1040175296Sobrien
1041175296Sobrien	* Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
1042175296Sobrien
1043186691Sobrien2007-08-19  6:30 Christos Zoulas <christos@astron.com>
1044175296Sobrien
1045175296Sobrien	* Make mime format consistent so that it can
1046175296Sobrien	  be easily parsed:
1047175296Sobrien	      mimetype [charset=character-set] [encoding=encoding-mime-type]
1048175296Sobrien
1049191771Sobrien	  Remove spurious extra text from some MIME type printouts
1050175296Sobrien	  (mostly in is_tar).
1051175296Sobrien
1052175296Sobrien	  Fix one case where -i produced nothing at all (for a 1-byte file,
1053175296Sobrien	  which is now classed as application/octet-stream).
1054175296Sobrien
1055175296Sobrien	  Remove 7/8bit classifications, since they were arbitrary
1056175296Sobrien	  and not based on the file data.
1057175296Sobrien
1058175296Sobrien	  This work was done by Reuben Thomas
1059175296Sobrien
1060186691Sobrien2007-05-24 10:00 Christos Zoulas <christos@astron.com>
1061169962Sobrien
1062169962Sobrien	* Fix another integer overflow (Colin Percival)
1063169962Sobrien
1064186691Sobrien2007-03-26 13:58 Christos Zoulas <christos@astron.com>
1065169962Sobrien
1066169962Sobrien	* make sure that all of struct magic_set is initialized appropriately
1067169962Sobrien	  (Brett)
1068169962Sobrien
1069186691Sobrien2007-03-25 17:44 Christos Zoulas <christos@astron.com>
1070169962Sobrien
1071169962Sobrien	* reset left bytes in the buffer (Dmitry V. Levin)
1072169962Sobrien
1073169962Sobrien	* compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
1074169962Sobrien	  (Peter Avalos)
1075169962Sobrien
1076186691Sobrien2007-03-15 10:51 Christos Zoulas <christos@astron.com>
1077169962Sobrien
1078169962Sobrien	* fix fortran and nroff reversed tests (Dmitry V. Levin)
1079191771Sobrien
1080169962Sobrien	* fix exclude option (Dmitry V. Levin)
1081169962Sobrien
1082186691Sobrien2007-02-08 17:30 Christos Zoulas <christos@astron.com>
1083169962Sobrien
1084169962Sobrien	* fix integer underflow in file_printf which can lead to
1085169962Sobrien	  to exploitable heap overflow (Jean-Sebastien Guay-Lero)
1086169962Sobrien
1087186691Sobrien2007-02-05 11:35 Christos Zoulas <christos@astron.com>
1088169962Sobrien
1089169962Sobrien	* make socket/pipe reading more robust
1090169962Sobrien
1091186691Sobrien2007-01-25 16:01 Christos Zoulas <christos@astron.com>
1092169962Sobrien
1093169962Sobrien	* Centralize all the tests in file_buffer.
1094169962Sobrien
1095169962Sobrien	* Add exclude flag.
1096169962Sobrien
1097169962Sobrien2007-01-18 05:29 Anon Ymous <do@not.spam.me>
1098191771Sobrien
1099169962Sobrien	* Move the "type" detection code from parse() into its own table
1100169962Sobrien	  driven routine.  This avoids maintaining multiple lists in
1101169962Sobrien	  file.h.
1102169962Sobrien
1103169962Sobrien	* Add an optional conditional field (ust before the type field).
1104169962Sobrien	  This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
1105169962Sobrien	  likely to go away.
1106191771Sobrien
1107169962Sobrien2007-01-16 23:24 Anon Ymous <do@not.spam.me>
1108169962Sobrien
1109169962Sobrien	* Fix an initialization bug in check_mem().
1110169962Sobrien
1111169962Sobrien2007-01-16 14:58 Anon Ymous <do@not.spam.me>
1112169962Sobrien
1113169962Sobrien	* Add a "default" type to print a message if nothing previously
1114169962Sobrien	  matched at that level or since the last default at that
1115169962Sobrien	  level.  This is useful for setting up switch-like statements.
1116169962Sobrien	  It can also be used to do if/else constructions without a
1117169962Sobrien	  redundant second test.
1118169962Sobrien
1119169962Sobrien	* Fix the "x" special case test so that one can test for that
1120169962Sobrien	  string with "=x".
1121169962Sobrien
1122169962Sobrien	* Allow "search" to search the entire buffer if the "/N"
1123169962Sobrien	  search count is missing.
1124169962Sobrien
1125169962Sobrien	* Make "regex" work!  It now starts its search at the
1126169962Sobrien	  specified offset and takes an (optional) "/N" line count to
1127169962Sobrien	  specify the search range; otherwise it searches to the end
1128169962Sobrien	  of the file.  The match is now grabbed correctly for format
1129169962Sobrien	  strings and the offset set to the end of the match.
1130169962Sobrien
1131169962Sobrien	* Add a "/s" flag to "regex" and "search" to set the offset to
1132169962Sobrien	  the start of the match.  By default the offset is set to the
1133169962Sobrien	  end of the match, as it is with other tests.  This is mostly
1134169962Sobrien	  useful for "regex".
1135169962Sobrien
1136169962Sobrien	* Make "search", "string" and "pstring" use the same
1137169962Sobrien	  file_strncmp() routine so that they support the same flags;
1138169962Sobrien	  "bestring16" and "lestring16" call the same routine, but
1139169962Sobrien	  with flags = 0.  Also add a "/C" flag (in analogy to "/c")
1140169962Sobrien	  to ignore the case on uppercase (lowercase) characters in
1141169962Sobrien	  the test string.
1142169962Sobrien
1143169962Sobrien	* Strict adherence to C style string escapes.  A warnings are
1144169962Sobrien	  printed when compiling.  Note: previously "\a" was
1145169962Sobrien	  incorrectly translated to 'a' instead of an <alert> (i.e.,
1146169962Sobrien	  BELL, typically 0x07).
1147169962Sobrien
1148169962Sobrien	* Make this compile with "-Wall -Wextra" and all the warning
1149169962Sobrien	  flags used with WARNS=4 in the NetBSD source.  Also make it
1150169962Sobrien	  pass lint.
1151169962Sobrien
1152169962Sobrien	* Many "cleanups" and hopefully not too many new bugs!
1153169962Sobrien
1154169962Sobrien2007-01-16 14:56 Anon Ymous <do@not.spam.me>
1155169962Sobrien
1156169962Sobrien	* make several more files compile with gcc warnings
1157169962Sobrien	  on and also make them pass lint.
1158169962Sobrien
1159169962Sobrien2007-01-16 14:54 Anon Ymous <do@not.spam.me>
1160169962Sobrien
1161169962Sobrien	* fix a puts()/putc() usage goof in file.c
1162169962Sobrien
1163169962Sobrien	* make file.c compile with gcc warnings and pass lint
1164169962Sobrien
1165186691Sobrien2006-12-11 16:49 Christos Zoulas <christos@astron.com>
1166169942Sobrien
1167169942Sobrien	* fix byteswapping issue
1168169942Sobrien
1169169942Sobrien	* report the number of bytes we tried to
1170169942Sobrien	  allocate when allocation fails
1171169942Sobrien
1172169942Sobrien	* add a few missed cases in the strength routine
1173169942Sobrien
1174186691Sobrien2006-12-08 16:32 Christos Zoulas <christos@astron.com>
1175169942Sobrien
1176169942Sobrien	* store and print the line number of the magic
1177191771Sobrien	  entry for debugging.
1178169942Sobrien
1179169942Sobrien	* if the magic entry did not print anything,
1180169942Sobrien	  don't treat it as a match
1181169942Sobrien
1182169942Sobrien	* change the magic strength algorithm to take
1183169942Sobrien	  into account the relationship op.
1184169942Sobrien
1185169942Sobrien	* fix a bug in search where we could accidentally
1186169942Sobrien	  return a match.
1187169942Sobrien
1188169942Sobrien	* propagate the error return from match to
1189169942Sobrien	  file_softmagic.
1190169942Sobrien
1191186691Sobrien2006-11-25 13:35 Christos Zoulas <christos@astron.com>
1192191771Sobrien
1193169942Sobrien	* Don't store the current offset in the magic
1194169942Sobrien	  struct, because it needs to be restored and
1195169942Sobrien	  it was not done properly all the time. Bug
1196169942Sobrien	  found by: Arkadiusz Miskiewicz
1197169942Sobrien
1198169942Sobrien	* Fix problem in the '\0' separator; and don't
1199169942Sobrien	  print it as an additional separator; print
1200169942Sobrien	  it as the only separator.
1201169942Sobrien
1202186691Sobrien2006-11-17 10:51 Christos Zoulas <christos@astron.com>
1203169942Sobrien
1204169942Sobrien	* Added a -0 option to print a '\0' separator
1205169942Sobrien	  Etienne Buira <etienne.buira@free.fr>
1206169942Sobrien
1207186691Sobrien2006-10-31 15:14 Christos Zoulas <christos@astron.com>
1208169942Sobrien
1209169942Sobrien	* Check offset before copying (Mike Frysinger)
1210169942Sobrien
1211169942Sobrien	* merge duplicated code
1212169942Sobrien
1213169942Sobrien	* add quad date support
1214169942Sobrien
1215169942Sobrien	* make sure that we nul terminate desc (Ryoji Kanai)
1216169942Sobrien
1217169942Sobrien	* don't process elf notes multiple times
1218169942Sobrien
1219169942Sobrien	* allow -z to report empty compressed files
1220169942Sobrien
1221169942Sobrien	* use calloc to initialize the ascii buffers (Jos van den Oever)
1222169942Sobrien
1223186691Sobrien2006-06-08 11:11 Christos Zoulas <christos@astron.com>
1224169942Sobrien
1225169942Sobrien	* QNX fixes (Mike Gorchak)
1226169942Sobrien
1227169942Sobrien	* Add quad support.
1228169942Sobrien
1229169942Sobrien	* FIFO checks (Dr. Werner Fink)
1230169942Sobrien
1231169942Sobrien	* Linux ELF fixes (Dr. Werner Fink)
1232169942Sobrien
1233169942Sobrien	* Magic format checks (Dr. Werner Fink)
1234169942Sobrien
1235169942Sobrien	* Magic format function improvent (Karl Chen)
1236169942Sobrien
1237186691Sobrien2006-05-03 11:11 Christos Zoulas <christos@astron.com>
1238169942Sobrien
1239169942Sobrien	* Pick up some elf changes and some constant fixes from SUSE
1240169942Sobrien
1241169942Sobrien	* Identify gnu tar vs. posix tar
1242169942Sobrien
1243267897Sdelphij	* When keep going, don't print spurious newlines (Radek Vokal)
1244169942Sobrien
1245186691Sobrien2006-04-01 12:02 Christos Zoulas <christos@astron.com>
1246169942Sobrien
1247169942Sobrien	* Use calloc instead of malloc (Mike Frysinger)
1248169942Sobrien
1249169942Sobrien	* Fix configure script to detect wctypes.h (Mike Frysinger)
1250169942Sobrien
1251186691Sobrien2006-03-02 16:06 Christos Zoulas <christos@astron.com>
1252159764Sobrien
1253159764Sobrien	* Print empty if the file is (Mike Frysinger)
1254159764Sobrien
1255159764Sobrien	* Don't try to read past the end of the buffer (Mike Frysinger)
1256159764Sobrien
1257159764Sobrien	* Sort magic entries by strength [experimental]
1258159764Sobrien
1259186691Sobrien2005-11-29 13:26 Christos Zoulas <christos@astron.com>
1260159764Sobrien
1261159764Sobrien	* Use iswprint() to convert the output string.
1262159764Sobrien	    (Bastien Nocera)
1263159764Sobrien
1264186691Sobrien2005-10-31 8:54 Christos Zoulas <christos@astron.com>
1265159764Sobrien
1266159764Sobrien	* Fix regression where the core info was not completely processed
1267267897Sdelphij	    (Radek Vokal)
1268159764Sobrien
1269186691Sobrien2005-10-20 11:15 Christos Zoulas <christos@astron.com>
1270159764Sobrien
1271159764Sobrien	* Middle Endian magic (Diomidis Spinellis)
1272159764Sobrien
1273186691Sobrien2005-10-17 11:15 Christos Zoulas <christos@astron.com>
1274159764Sobrien
1275159764Sobrien	* Open with O_BINARY for CYGWIN (Corinna Vinschen)
1276159764Sobrien
1277159764Sobrien	* Don't close stdin (Arkadiusz Miskiewicz)
1278159764Sobrien
1279159764Sobrien	* Look for note sections in non executables.
1280159764Sobrien
1281186691Sobrien2005-09-20 13:33 Christos Zoulas <christos@astron.com>
1282191771Sobrien
1283159764Sobrien	* Don't print SVR4 Style in core files multiple times
1284267897Sdelphij	    (Radek Vokal)
1285159764Sobrien
1286186691Sobrien2005-08-27 04:09 Christos Zoulas <christos@astron.com>
1287159764Sobrien
1288159764Sobrien	* Cygwin changes Corinna Vinschen
1289159764Sobrien
1290186691Sobrien2005-08-18 09:53 Christos Zoulas <christos@astron.com>
1291159764Sobrien
1292159764Sobrien	* Remove erroreous mention of /etc/magic in the file man page
1293191771Sobrien	  This is gentoo bug 101639. (Mike Frysinger)
1294159764Sobrien
1295191771Sobrien	* Cross-compile support and detection (Mike Frysinger)
1296159764Sobrien
1297186691Sobrien2005-08-12 10:17 Christos Zoulas <christos@astron.com>
1298159764Sobrien
1299159764Sobrien	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
1300159764Sobrien	  is set.
1301159764Sobrien
1302186691Sobrien2005-07-29 13:57 Christos Zoulas <christos@astron.com>
1303159764Sobrien
1304159764Sobrien	* Avoid search and regex buffer overflows (Kelledin)
1305159764Sobrien
1306186691Sobrien2005-07-12 11:48 Christos Zoulas <christos@astron.com>
1307159764Sobrien
1308159764Sobrien	* Provide stub implementations for {v,}nsprintf() for older
1309159764Sobrien	  OS's that don't have them.
1310159764Sobrien	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
1311159764Sobrien	  to AC_TYPE_MBSTATE_T.
1312159764Sobrien
1313186691Sobrien2005-06-25 11:48 Christos Zoulas <christos@astron.com>
1314159764Sobrien
1315159764Sobrien	* Dynamically allocate the string buffers and make the
1316159764Sobrien	  default read size 256K.
1317159764Sobrien
1318159764Sobrien2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
1319159764Sobrien
1320159764Sobrien	* Dragonfly ELF note support
1321159764Sobrien
1322159764Sobrien2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
1323159764Sobrien
1324159764Sobrien	* Avoid NULL pointer dereference in time conversion.
1325159764Sobrien
1326159764Sobrien2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
1327191771Sobrien
1328159764Sobrien	* Add indirect magic offset support, and search mode.
1329159764Sobrien
1330159764Sobrien2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
1331159764Sobrien
1332191771Sobrien	* src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
1333191771Sobrien	  If a CRLF text file happens to have CR at offset HOWMANY - 1
1334191771Sobrien	  (currently 0xffff), it should not be counted as CR line
1335191771Sobrien	  terminator.
1336191771Sobrien	  If a line has length exactly MAXLINELEN, it should not yet be
1337191771Sobrien	  treated as a ``very long line'', as MAXLINELEN is ``longest sane
1338191771Sobrien	  line length''.
1339191771Sobrien	  With CRLF, the line length was not computed correctly, and even
1340191771Sobrien	  lines of length MAXLINELEN - 1 were treated as ``very long''.
1341159764Sobrien
1342186691Sobrien2004-12-07 14:15  Christos Zoulas  <christos@astron.com>
1343159764Sobrien
1344159764Sobrien	* bzip2 needs a lot of input buffer space on some files
1345159764Sobrien	  before it can begin uncompressing. This makes file -z
1346159764Sobrien	  fail on some bz2 files. Fix it by giving it a copy of
1347159764Sobrien	  the file descriptor to read as much as it wants if we
1348186691Sobrien	  have access to it. <christos@astron.com>
1349159764Sobrien
1350186691Sobrien2004-11-24 12:39  Christos Zoulas  <christos@astron.com>
1351133359Sobrien
1352139368Sobrien	* Stack smash fix, and ELF more conservative reading.
1353139368Sobrien	  Jakub Bogusz <qboosh@pld-linux.org>
1354139368Sobrien
1355186691Sobrien2004-11-20 18:50  Christos Zoulas  <christos@astron.com>
1356139368Sobrien
1357139368Sobrien	* New FreeBSD version parsing code:
1358139368Sobrien	  Jon Noack <noackjr@alumni.rice.edu>
1359139368Sobrien
1360186691Sobrien	* Hackish support for ucs16 strings <christos@astron.com>
1361139368Sobrien
1362186691Sobrien2004-11-13 03:07  Christos Zoulas  <christos@astron.com>
1363139368Sobrien
1364139368Sobrien	* print the file name and line number in syntax errors.
1365139368Sobrien
1366186691Sobrien2004 10-12 10:50  Christos Zoulas  <christos@astron.com>
1367139368Sobrien
1368139368Sobrien	* Fix stack overwriting on 0 length strings: Tim Waugh
1369139368Sobrien	    <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
1370139368Sobrien
1371186691Sobrien2004-09-27 11:30  Christos Zoulas  <christos@astron.com>
1372139368Sobrien
1373139368Sobrien	* Remove 3rd and 4th copyright clause; approved by Ian Darwin.
1374139368Sobrien
1375191771Sobrien	* Fix small memory leaks; caught by: Tamas Sarlos
1376139368Sobrien	    <stamas@csillag.ilab.sztaki.hu>
1377139368Sobrien
1378186691Sobrien2004-07-24 16:33  Christos Zoulas  <christos@astron.com>
1379133359Sobrien
1380191771Sobrien	* magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
1381133359Sobrien
1382133359Sobrien	* FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
1383133359Sobrien
1384133359Sobrien	* utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
1385133359Sobrien
1386133359Sobrien  	* errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
1387133359Sobrien
1388186691Sobrien2004-04-12 10:55  Christos Zoulas  <christos@astron.com>
1389133359Sobrien
1390133359Sobrien	* make sure that magic formats match magic types during compilation
1391133359Sobrien
1392133359Sobrien	* fix broken sgi magic file
1393133359Sobrien
1394186691Sobrien2004-04-06 20:36  Christos Zoulas  <christos@astron.com>
1395133359Sobrien
1396133359Sobrien	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
1397133359Sobrien
1398133359Sobrien	* magic fixes
1399133359Sobrien
1400186691Sobrien2004-03-22 15:25  Christos Zoulas  <christos@astron.com>
1401133359Sobrien
1402133359Sobrien	* Lots of mime fixes
1403133359Sobrien	  (Joerg Ostertag) <ostertag@rechengilde.de>
1404133359Sobrien
1405133359Sobrien	* FreeBSD ELF version handling
1406133359Sobrien	  (Edwin Groothuis) <edwin@mavetju.org>
1407133359Sobrien
1408133359Sobrien	* correct cleanup in all cases; don't just close the file.
1409186691Sobrien	  (Christos Zoulas) <christos@astron.com>
1410133359Sobrien
1411133359Sobrien	* add gettext message catalogue support
1412133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1413133359Sobrien
1414133359Sobrien	* better printout for unreadable files
1415133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1416133359Sobrien
1417133359Sobrien	* compensate for missing MAXPATHLEN
1418133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1419133359Sobrien
1420133359Sobrien	* add wide character string length computation
1421133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1422133359Sobrien
1423133359Sobrien	* Avoid infinite loops caused by bad elf alignments
1424133359Sobrien	  or name and description note sizes. Reported by
1425133359Sobrien	  (Mikael Magnusson) <mmikael@comhem.se>
1426133359Sobrien
1427186691Sobrien2004-03-09 13:55  Christos Zoulas  <christos@astron.com>
1428133359Sobrien
1429133359Sobrien	* Fix possible memory leak on error and add missing regfree
1430133359Sobrien	  (Dmitry V. Levin) <ldv@altlinux.org>
1431133359Sobrien
1432186691Sobrien2003-12-23 12:12  Christos Zoulas  <christos@astron.com>
1433133359Sobrien
1434133359Sobrien	* fix -k flag (Maciej W. Rozycki)
1435133359Sobrien
1436186691Sobrien2003-11-18 14:10  Christos Zoulas  <christos@astron.com>
1437133359Sobrien
1438133359Sobrien	* Try to give us much info as possible on corrupt elf files.
1439133359Sobrien	  (Willy Tarreau) <willy@w.ods.org>
1440133359Sobrien	* Updated python bindings (Brett Funderburg)
1441133359Sobrien	   <brettf@deepfile.com>
1442133359Sobrien
1443186691Sobrien2003-11-11 15:03  Christos Zoulas  <christos@astron.com>
1444133359Sobrien
1445133359Sobrien	* Include file.h first, because it includes config.h
1446133359Sobrien	  breaks largefile test macros otherwise.
1447133359Sobrien	  (Paul Eggert <eggert@CS.UCLA.EDU> via
1448133359Sobrien	   Lars Hecking <lhecking@nmrc.ie>)
1449133359Sobrien
1450186691Sobrien2003-10-14 21:39  Christos Zoulas  <christos@astron.com>
1451133359Sobrien
1452133359Sobrien	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
1453133359Sobrien	* Don't lookup past the end of the buffer
1454133359Sobrien	  (Chad Hanson) <chanson@tcs-sec.com>
1455133359Sobrien	* Add MAGIC_ERROR and api on magic_errno()
1456133359Sobrien
1457186691Sobrien2003-10-08 12:40  Christos Zoulas  <christos@astron.com>
1458133359Sobrien
1459133359Sobrien	* handle error conditions from compile as fatal
1460133359Sobrien	  (Antti Kantee) <pooka@netbsd.org>
1461133359Sobrien	* handle magic filename parsing sanely
1462133359Sobrien	* more magic fixes.
1463133359Sobrien	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
1464133359Sobrien	* describe magic file handling
1465133359Sobrien	  (Bryan Henderson) <bryanh@giraffe-data.com>
1466133359Sobrien
1467186691Sobrien2003-09-12 15:09  Christos Zoulas  <christos@astron.com>
1468133359Sobrien
1469133359Sobrien	* update magic files.
1470133359Sobrien	* remove largefile support from file.h; it breaks things on most OS's
1471133359Sobrien
1472186691Sobrien2003-08-10 10:25  Christos Zoulas  <christos@astron.com>
1473133359Sobrien
1474133359Sobrien	* fix unmapping'ing of mmaped files.
1475133359Sobrien
1476186691Sobrien2003-07-10 12:03  Christos Zoulas  <christos@astron.com>
1477133359Sobrien
1478133359Sobrien	* don't exit with -1 on error; always exit 1 (Marty Leisner)
1479133359Sobrien	* restore utimes code.
1480133359Sobrien
1481186691Sobrien2003-06-10 17:03  Christos Zoulas  <christos@astron.com>
1482133359Sobrien
1483133359Sobrien	* make sure we don't access uninitialized memory.
1484133359Sobrien	* pass lint
1485133359Sobrien	* #ifdef __cplusplus in magic.h
1486133359Sobrien
1487186691Sobrien2003-05-25 19:23  Christos Zoulas  <christos@astron.com>
1488133359Sobrien
1489133359Sobrien	* rename cvs magic file to revision to deal with
1490133359Sobrien	  case insensitive filesystems.
1491133359Sobrien
1492186691Sobrien2003-05-23 17:03  Christos Zoulas  <christos@astron.com>
1493133359Sobrien
1494133359Sobrien	* documentation fixes from Michael Piefel <piefel@debian.org>
1495133359Sobrien	* magic fixes (various)
1496133359Sobrien	* revert basename magic in .mgc name determination
1497133359Sobrien	* buffer protection in uncompress,
1498133359Sobrien	  signness issues,
1499133359Sobrien	  close files
1500133359Sobrien	  Maciej W. Rozycki <macro@ds2.pg.gda.pl
1501133359Sobrien
1502186691Sobrien2003-04-21 20:12  Christos Zoulas  <christos@astron.com>
1503133359Sobrien
1504133359Sobrien	* fix zsh magic
1505133359Sobrien
1506186691Sobrien2003-04-04 16:59  Christos Zoulas  <christos@astron.com>
1507133359Sobrien
1508133359Sobrien	* fix operand sort order in string.
1509133359Sobrien
1510186691Sobrien2003-04-02 17:30  Christos Zoulas  <christos@astron.com>
1511133359Sobrien
1512133359Sobrien	* cleanup namespace in magic.h
1513133359Sobrien
1514186691Sobrien2003-04-02 13:50  Christos Zoulas  <christos@astron.com>
1515133359Sobrien
1516133359Sobrien	* Magic additions (Alex Ott)
1517133359Sobrien	* Fix bug that broke VPATH compilation (Peter Breitenlohner)
1518133359Sobrien
1519186691Sobrien2003-03-28 16:03  Christos Zoulas  <christos@astron.com>
1520133359Sobrien
1521133359Sobrien	* remove packed attribute from magic struct.
1522133359Sobrien	* make the magic struct properly aligned.
1523133359Sobrien	* bump version number of compiled files to 2.
1524133359Sobrien
1525186691Sobrien2003-03-27 13:10  Christos Zoulas  <christos@astron.com>
1526133359Sobrien
1527133359Sobrien	* separate tar detection and run it before softmagic.
1528133359Sobrien	* fix reversed symlink test.
1529133359Sobrien	* fix version printing.
1530133359Sobrien	* make separator a string instead of a char.
1531133359Sobrien	* update manual page and sort options.
1532133359Sobrien
1533186691Sobrien2003-03-26 11:00  Christos Zoulas  <christos@astron.com>
1534133359Sobrien
1535133359Sobrien	* Pass lint
1536133359Sobrien	* make NULL in magic_file mean stdin
1537133359Sobrien	* Fix "-" argument to file to pass NULL to magic_file
1538133359Sobrien	* avoid pointer casts by using memcpy
1539133359Sobrien	* rename magic_buf -> magic_buffer
1540133359Sobrien	* keep only the first error
1541133359Sobrien	* manual page: new sentence, new line
1542133359Sobrien	* fix typo in api function (magic_buf -> magic_buffer)
1543