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