1362844Sdelphij2020-06-14  20:02  Christos Zoulas <christos@zoulas.com>
2362844Sdelphij
3362844Sdelphij	* release 5.39
4362844Sdelphij
5362844Sdelphij2020-06-07  20:00  Christos Zoulas <christos@zoulas.com>
6362844Sdelphij
7362844Sdelphij	* Remove unused subtype_mime (Steve Grubb)
8362844Sdelphij	* Remove unused check in okstat (Steve Grubb)
9362844Sdelphij	* Fix mime-type in elf binaries by making sure $x is set
10362844Sdelphij	* Fix indirect negative offsets broken by OFFNEGATIVE
11362844Sdelphij	* Fix GUID equality check
12362844Sdelphij	* PR/165: Handle empty array and strings in JSON
13362844Sdelphij	* PR/162: Add --exclude-quiet
14362844Sdelphij
15362844Sdelphij2020-06-06  15:33  Christos Zoulas <christos@zoulas.com>
16362844Sdelphij
17362844Sdelphij	* Fix memory leak in ascmagic (Steve Grubb)
18362844Sdelphij
19362844Sdelphij2020-06-04  00:21  Christos Zoulas <christos@zoulas.com>
20362844Sdelphij
21362844Sdelphij	* Fix string comparison length with ignore whitespace
22362844Sdelphij
23362844Sdelphij2020-05-31  00:11  Christos Zoulas <christos@zoulas.com>
24362844Sdelphij
25362844Sdelphij	* Fix mingwin 64 compilation
26362844Sdelphij
27362844Sdelphij2020-05-30  23:56  Christos Zoulas <christos@zoulas.com>
28362844Sdelphij
29362844Sdelphij	* PR/159: whitelist getpid needed for file_pipe2file()
30362844Sdelphij
31362844Sdelphij2020-05-09  18:57  Christos Zoulas <christos@zoulas.com>
32362844Sdelphij
33362844Sdelphij	* Indicate negative offsets with a flag OFFNEGATIVE
34362844Sdelphij	  so that -0 works.
35362844Sdelphij	* Introduce "offset" magic type that can be used to
36362844Sdelphij	  detect the file size, and bail on short files.
37362844Sdelphij	* document DER better in the magic man page.
38362844Sdelphij
39362844Sdelphij2020-03-11  21:53  Christos Zoulas <christos@zoulas.com>
40362844Sdelphij
41362844Sdelphij	* fix memory leaks (SonarQube)
42362844Sdelphij
43362844Sdelphij2020-03-08  21:33  Christos Zoulas <christos@zoulas.com>
44362844Sdelphij
45362844Sdelphij	* fix memory leaks (SonarQube)
46362844Sdelphij	* rewrite confusing loops (SonarQube)
47362844Sdelphij	* fix bogus test (SonarQube)
48362844Sdelphij	* pass a sized buffer to file_fmttime() (SonarQube)
49362844Sdelphij
50362844Sdelphij	* fix memory leaks (SonarQube)
51362844Sdelphij
52362844Sdelphij2020-02-20  15:50  Christos Zoulas <christos@zoulas.com>
53362844Sdelphij
54362844Sdelphij	* Don't allow * in printf formats, or the code itself (Christoph Biedl)
55362844Sdelphij	* Introduce a printf output size checker to avoid DoS attacks
56362844Sdelphij
57362844Sdelphij2020-02-17  17:22  Christos Zoulas <christos@zoulas.com>
58362844Sdelphij
59362844Sdelphij	* Avoid memory leak on error (oss-fuzz)
60362844Sdelphij	* Check length of string on DER before derefercing and add new types
61362844Sdelphij	* Add missing DER string (oss-fuzz)
62362844Sdelphij
63362844Sdelphij2020-02-16  20:45  Christos Zoulas <christos@zoulas.com>
64362844Sdelphij
65362844Sdelphij	* Add missing DER types, and debugging
66362844Sdelphij
67362844Sdelphij2020-02-13  13:10  Christos Zoulas <christos@zoulas.com>
68362844Sdelphij
69362844Sdelphij	* PR/140: Avoid abort with hand-crafted magic file (gockelhahn)
70362844Sdelphij	* PR/139  Avoid DoS in printf with hand-crafted magic file (gockelhahn)
71362844Sdelphij	* PR/138: Avoid crash with hand-crafted magic file (gockelhahn)
72362844Sdelphij
73362844Sdelphij2020-02-12  17:30  Christos Zoulas <christos@zoulas.com>
74362844Sdelphij
75362844Sdelphij	* PR/136: Fix static build by adding a libmagic.pc (Fabrice Fontaine)
76362844Sdelphij
77362844Sdelphij2019-12-24  14:16  Christos Zoulas <christos@zoulas.com>
78362844Sdelphij
79362844Sdelphij	* add guid support
80362844Sdelphij
81360521Sdelphij2019-12-16  21:11  Christos Zoulas <christos@zoulas.com>
82360521Sdelphij
83360521Sdelphij	* release 5.38
84360521Sdelphij
85360521Sdelphij2019-12-15  22:13  Christos Zoulas <christos@zoulas.com>
86360521Sdelphij    Document changes since the previous release:
87360521Sdelphij	- Always accept -S (no sandbox) even if we don't support sandboxing
88360521Sdelphij	- More syscalls elided for sandboxiing
89360521Sdelphij	- For ELF dynamic means having an interpreter not just PT_DYNAMIC
90360521Sdelphij	- Check for large ELF session header offset
91360521Sdelphij	- When saving and restoring a locale, keep the locale name in our
92360521Sdelphij	  own storage.
93360521Sdelphij	- Add a flag to disable CSV file detection.
94360521Sdelphij	- Don't pass NULL/0 to memset to appease sanitizers.
95360521Sdelphij	- Avoid spurious prints when looks for extensions or apple strings
96360521Sdelphij	  in fsmagic.
97360521Sdelphij	- Add builtin decompressors for xz and and bzip.
98360521Sdelphij	- Add a limit for the number of CDF elements.
99360521Sdelphij	- More checks for overflow in CDF.
100360521Sdelphij
101354939Sdelphij2019-05-14  22:26  Christos Zoulas <christos@zoulas.com>
102354939Sdelphij
103354939Sdelphij	* release 5.37
104354939Sdelphij
105354939Sdelphij2019-05-09  22:27  Christos Zoulas <christos@zoulas.com>
106354939Sdelphij	
107354939Sdelphij	* Make sure that continuation separators are printed
108354939Sdelphij	  with -k within softmagic
109354939Sdelphij
110354939Sdelphij2019-05-06  22:27  Christos Zoulas <christos@zoulas.com>
111354939Sdelphij
112354939Sdelphij	* Change SIGPIPE saving and restoring during compression to use
113354939Sdelphij	  sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
114354939Sdelphij	* Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)
115354939Sdelphij
116354939Sdelphij2019-05-06  17:25  Christos Zoulas <christos@zoulas.com>
117354939Sdelphij
118354939Sdelphij	* PR/77: Handle --mime-type and -k correctly.
119354939Sdelphij
120354939Sdelphij2019-05-03  15:26  Christos Zoulas <christos@zoulas.com>
121354939Sdelphij
122354939Sdelphij	* Switch decompression code to use vfork() because
123354939Sdelphij	  tools like rpmdiff and rpmbuild call libmagic
124354939Sdelphij	  with large process footprints (Denys Vlasenko)
125354939Sdelphij
126354939Sdelphij2019-04-07  14:05  Christos Zoulas <christos@zoulas.com>
127354939Sdelphij
128354939Sdelphij	* PR/75: --enable-zlib, did not work.
129354939Sdelphij
130354939Sdelphij2019-02-27  11:54  Christos Zoulas <christos@zoulas.com>
131354939Sdelphij
132354939Sdelphij	* Improve regex efficiency (Michael Schroeder) by:
133354939Sdelphij		1. Prefixing regex searches with regular search
134354939Sdelphij		   for keywords where possible
135354939Sdelphij		2. Using memmem(3) where available
136354939Sdelphij
137354939Sdelphij2019-02-20  10:16  Christos Zoulas <christos@zoulas.com>
138354939Sdelphij
139354939Sdelphij	* release 5.36
140354939Sdelphij
141354939Sdelphij2019-02-19  15:30  Christos Zoulas <christos@zoulas.com>
142354939Sdelphij
143354939Sdelphij	* Fix cast to use cast macros
144354939Sdelphij	* Add UCS-32 builtin detection (PR/61) reported by tmc
145354939Sdelphij
146354939Sdelphij2019-02-18  18:24  Christos Zoulas <christos@zoulas.com>
147354939Sdelphij
148354939Sdelphij	* Fix stack read (PR/62) and write (PR/64) stack overflows
149354939Sdelphij	  reported by spinpx 
150354939Sdelphij
151354939Sdelphij2018-10-18  19:32  Christos Zoulas <christos@zoulas.com>
152354939Sdelphij
153354939Sdelphij	* release 5.35
154354939Sdelphij
155354939Sdelphij2018-09-10  20:38  Christos Zoulas <christos@zoulas.com>
156354939Sdelphij
157354939Sdelphij	* Add FreeBSD ELF core file support (John Baldwin)
158354939Sdelphij
159354939Sdelphij2018-08-20  18:40  Christos Zoulas <christos@zoulas.com>
160354939Sdelphij
161354939Sdelphij	* PR/30: Allow all parameter values to be set (don't treat 0 specially)
162354939Sdelphij	* handle default annotations on the softmagic match instead at the
163354939Sdelphij	  end.
164354939Sdelphij
165354939Sdelphij2018-07-25  10:17  Christos Zoulas <christos@zoulas.com>
166354939Sdelphij
167354939Sdelphij	* PR/23: Recognize JSON files
168354939Sdelphij
169354939Sdelphij2018-07-25  10:17  Christos Zoulas <christos@zoulas.com>
170354939Sdelphij
171354939Sdelphij	* PR/18: file --mime-encoding should not print mime-type
172354939Sdelphij
173337827Seadler2018-07-25   8:50  Christos Zoulas <christos@zoulas.com>
174337827Seadler
175337827Seadler	* release 5.34
176337827Seadler
177337827Seadler2018-06-22  16:38  Christos Zoulas <christos@zoulas.com>
178337827Seadler
179337827Seadler	* Add Quad indirect offsets
180337827Seadler
181337827Seadler2018-05-24  14:10  Christos Zoulas <christos@zoulas.com>
182337827Seadler
183337827Seadler	* Enable parsing of ELF dynamic sections to handle PIE better
184337827Seadler
185337827Seadler2018-04-15  14:52  Christos Zoulas <christos@zoulas.com>
186337827Seadler
187337827Seadler	* release 5.33
188337827Seadler
189354939Sdelphij2018-02-24  14:50  Christos Zoulas <christos@zoulas.com>
190337827Seadler
191337827Seadler	* extend the support for ${x?:} expansions for magic descriptions
192337827Seadler
193354939Sdelphij2018-02-21  16:25  Christos Zoulas <christos@zoulas.com>
194337827Seadler
195337827Seadler	* add support for ${x?:} in mime types to handle
196337827Seadler	  pie binaries.
197337827Seadler
198337827Seadler2017-11-03   9:23  Christos Zoulas <christos@zoulas.com>
199337827Seadler
200337827Seadler	* add support for negative offsets (offsets from the end of file)
201337827Seadler
202337827Seadler2017-09-26   8:22  Christos Zoulas <christos@zoulas.com>
203337827Seadler
204337827Seadler	* close the file on error when writing magic (Steve Grubb)
205337827Seadler
206337827Seadler2017-09-24  12:02  Christos Zoulas <christos@zoulas.com>
207337827Seadler
208337827Seadler	* seccomp support (Paul Moore)
209337827Seadler
210328874Seadler2017-09-02  11:53  Christos Zoulas <christos@zoulas.com>
211328874Seadler
212328874Seadler	* release 5.32
213328874Seadler
214328874Seadler2017-08-28  16:37  Christos Zoulas <christos@zoulas.com>
215328874Seadler
216328874Seadler	* Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)
217328874Seadler
218328874Seadler2017-08-27  03:55  Christos Zoulas <christos@zoulas.com>
219328874Seadler
220328874Seadler	* Fix always true condition (Thomas Jarosch)
221328874Seadler
222328874Seadler2017-05-24  17:30  Christos Zoulas <christos@zoulas.com>
223328874Seadler
224328874Seadler	* pickier parsing of numeric values in magic files.
225328874Seadler
226328874Seadler2017-05-23  17:55  Christos Zoulas <christos@zoulas.com>
227328874Seadler
228328874Seadler	* PR/615 add magic_getflags()
229328874Seadler
230328874Seadler2017-05-23  13:55  Christos Zoulas <christos@zoulas.com>
231328874Seadler
232328874Seadler	* release 5.31
233328874Seadler
234328874Seadler2017-03-17  20:32  Christos Zoulas <christos@zoulas.com>
235328874Seadler
236328874Seadler	* remove trailing spaces from magic files
237328874Seadler	* refactor is_tar
238328874Seadler	* better bounds checks for cdf
239328874Seadler
240328874Seadler2017-02-10  12:24  Christos Zoulas <christos@zoulas.com>
241328874Seadler
242328874Seadler	* release 5.30
243328874Seadler
244328874Seadler2017-02-07  23:27  Christos Zoulas <christos@zoulas.com>
245328874Seadler
246328874Seadler	* If we exceeded the offset in a search return no match
247328874Seadler	  (Christoph Biedl)
248328874Seadler	* Be more lenient on corrupt CDF files (Christoph Biedl)
249328874Seadler
250328874Seadler2017-02-04  16:46  Christos Zoulas <christos@zoulas.com>
251328874Seadler
252328874Seadler	* pacify ubsan sign extension (oss-fuzz/524)
253328874Seadler
254328874Seadler2017-02-01  12:42  Christos Zoulas <christos@zoulas.com>
255328874Seadler
256328874Seadler	* off by one in cdf parsing (PR/593)
257328874Seadler	* report debugging sections in elf (PR/591)
258328874Seadler
259328874Seadler2016-11-06  10:52  Christos Zoulas <christos@zoulas.com>
260328874Seadler
261328874Seadler	* Allow @@@ in extensions
262328874Seadler	* Add missing overflow check in der magic (Jonas Wagner)
263328874Seadler
264309847Sdelphij2016-10-25  10:40  Christos Zoulas <christos@zoulas.com>
265354939Sdelphij
266328874Seadler	* release 5.29
267309847Sdelphij
268309847Sdelphij2016-10-24  11:20  Christos Zoulas <christos@zoulas.com>
269309847Sdelphij
270309847Sdelphij	* der getlength overflow (Jonas Wagner)
271309847Sdelphij	* multiple magic file load failure (Christoph Biedl)
272309847Sdelphij
273309847Sdelphij2016-10-17  11:26  Christos Zoulas <christos@zoulas.com>
274309847Sdelphij
275309847Sdelphij	* CDF parsing improvements (Guy Helmer)
276309847Sdelphij
277309847Sdelphij2016-07-20   7:26  Christos Zoulas <christos@zoulas.com>
278309847Sdelphij
279309847Sdelphij	* Add support for signed indirect offsets
280309847Sdelphij
281309847Sdelphij2016-07-18   7:41  Christos Zoulas <christos@zoulas.com>
282309847Sdelphij
283309847Sdelphij	* cat /dev/null | file - should print empty (Christoph Biedl)
284309847Sdelphij
285309847Sdelphij2016-07-05  15:20  Christos Zoulas <christos@zoulas.com>
286309847Sdelphij
287309847Sdelphij	* Bump string size from 64 to 96.
288309847Sdelphij
289309847Sdelphij2016-06-13  20:20  Christos Zoulas <christos@zoulas.com>
290309847Sdelphij
291309847Sdelphij	* PR/556: Fix separators on annotations.
292309847Sdelphij
293302221Sdelphij2016-06-13  19:40  Christos Zoulas <christos@zoulas.com>
294302221Sdelphij
295302221Sdelphij	* release 5.28
296302221Sdelphij	* fix leak on allocation failure
297302221Sdelphij
298302221Sdelphij2016-06-01   1:20  Christos Zoulas <christos@zoulas.com>
299302221Sdelphij
300302221Sdelphij	* PR/555: Avoid overflow for offset > nbytes
301302221Sdelphij	* PR/550: Segv on DER parsing:
302302221Sdelphij	    - use the correct variable for length
303302221Sdelphij	    - set offset to 0 on failure.
304302221Sdelphij
305299736Sdelphij2016-05-13  12:00  Christos Zoulas <christos@zoulas.com>
306354939Sdelphij
307299736Sdelphij	* release 5.27
308299736Sdelphij
309299736Sdelphij2016-04-18   9:35  Christos Zoulas <christos@zoulas.com>
310354939Sdelphij
311299736Sdelphij	* Errors comparing DER entries or computing offsets
312299736Sdelphij	  are just indications of malformed non-DER files.
313299736Sdelphij	  Don't print them.
314299736Sdelphij	* Offset comparison was off-by-one.
315299736Sdelphij	* Fix compression code (Werner Fink)
316299736Sdelphij	* Put new bytes constant in the right file (not the generated one)
317299736Sdelphij
318298192Sdelphij2016-04-16  18:34  Christos Zoulas <christos@zoulas.com>
319354939Sdelphij
320299736Sdelphij	* release 5.26
321298192Sdelphij
322298192Sdelphij2016-03-31  13:50  Christos Zoulas <christos@zoulas.com>
323298192Sdelphij
324298192Sdelphij	* make the number of bytes read from files configurable.
325298192Sdelphij
326298192Sdelphij2016-03-21  13:40  Christos Zoulas <christos@zoulas.com>
327298192Sdelphij
328298192Sdelphij	* Add bounds checks for DER code (discovered by Thomas Jarosch)
329298192Sdelphij	* Change indirect recursion limit to indirect use count and
330298192Sdelphij	  bump from 15 to 50 to prevent abuse.
331298192Sdelphij
332298192Sdelphij2016-03-13  20:39  Christos Zoulas <christos@zoulas.com>
333298192Sdelphij
334298192Sdelphij	* Add -00 which prints filename\0description\0
335298192Sdelphij
336298192Sdelphij2016-03-01  13:28  Christos Zoulas <christos@zoulas.com>
337298192Sdelphij
338298192Sdelphij	* Fix ID3 indirect parsing
339298192Sdelphij
340298192Sdelphij2016-01-19  10:18  Christos Zoulas <christos@zoulas.com>
341298192Sdelphij
342298192Sdelphij	* add DER parsing capability
343298192Sdelphij
344298192Sdelphij2015-11-13  10:35  Christos Zoulas <christos@zoulas.com>
345298192Sdelphij
346298192Sdelphij	* provide dprintf(3) for the OS's that don't have it.
347298192Sdelphij
348298192Sdelphij2015-11-11  16:25  Christos Zoulas <christos@zoulas.com>
349298192Sdelphij
350298192Sdelphij	* redo the compression code report decompression errors
351298192Sdelphij
352298192Sdelphij2015-11-10  23:25  Christos Zoulas <christos@zoulas.com>
353298192Sdelphij
354298192Sdelphij	* REG_STARTEND code is not working as expected, delete it.
355298192Sdelphij
356298192Sdelphij2015-11-09  16:05  Christos Zoulas <christos@zoulas.com>
357298192Sdelphij
358298192Sdelphij	* Add zlib support if we have it.
359298192Sdelphij
360298192Sdelphij2015-11-05  11:22  Christos Zoulas <christos@zoulas.com>
361298192Sdelphij
362298192Sdelphij	* PR/492: compression forking was broken with magic_buffer.
363298192Sdelphij
364288143Sdelphij2015-09-16   9:50  Christos Zoulas <christos@zoulas.com>
365354939Sdelphij
366288143Sdelphij	* release 5.25
367288143Sdelphij
368288143Sdelphij2015-09-11  13:25  Christos Zoulas <christos@zoulas.com>
369288143Sdelphij
370288143Sdelphij	* add a limit to the length of regex searches
371288143Sdelphij
372288143Sdelphij2015-09-08   9:50  Christos Zoulas <christos@zoulas.com>
373288143Sdelphij
374288143Sdelphij	* fix problems with --parameter (Christoph Biedl)
375288143Sdelphij
376288143Sdelphij2015-07-11  10:35  Christos Zoulas <christos@zoulas.com>
377288143Sdelphij
378288143Sdelphij	* Windows fixes PR/466 (Jason Hood)
379288143Sdelphij
380287453Sdelphij2015-07-09  10:35  Christos Zoulas <christos@zoulas.com>
381287453Sdelphij
382287453Sdelphij	* release 5.24
383287453Sdelphij
384284277Sdelphij2015-06-11   8:52  Christos Zoulas <christos@zoulas.com>
385284237Sdelphij
386284277Sdelphij	* redo long option encoding to fix off-by-one in 5.23
387284277Sdelphij
388284237Sdelphij2015-06-10  13:50  Christos Zoulas <christos@zoulas.com>
389284237Sdelphij
390284237Sdelphij	* release 5.23
391284237Sdelphij
392284237Sdelphij2015-06-09  16:10  Christos Zoulas <christos@zoulas.com>
393354939Sdelphij
394284237Sdelphij	* Fix issue with regex range for magic with offset
395284237Sdelphij	* Always return true from mget with USE (success to mget not match
396284237Sdelphij	  indication). Fixes mime evaluation after USE magic
397284237Sdelphij	* PR/459: Don't insert magic entries to the list if there are parsing
398284237Sdelphij	  errors for them.
399284237Sdelphij
400284237Sdelphij2015-06-03  16:00  Christos Zoulas <christos@zoulas.com>
401284237Sdelphij
402284237Sdelphij	* PR/455: Add utf-7 encoding
403284237Sdelphij
404284237Sdelphij2015-06-03  14:30  Christos Zoulas <christos@zoulas.com>
405284237Sdelphij
406284237Sdelphij	* PR/455: Implement -Z, look inside, but don't report on compression
407284237Sdelphij	* PR/454: Fix allocation error on bad magic.
408284237Sdelphij
409284237Sdelphij2015-05-29  10:30  Christos Zoulas <christos@zoulas.com>
410284237Sdelphij
411284237Sdelphij	* handle MAGIC_CONTINUE everywhere, not just in softmagic
412284237Sdelphij
413284237Sdelphij2015-05-21  14:30  Christos Zoulas <christos@zoulas.com>
414284237Sdelphij
415284237Sdelphij	* don't print descriptions for NAME types when mime.
416284237Sdelphij
417284237Sdelphij2015-04-09  15:59  Christos Zoulas <christos@zoulas.com>
418284237Sdelphij
419284237Sdelphij	* Add --extension to list the known extensions for this file type
420284237Sdelphij	  Idea by Andrew J Roazen
421284237Sdelphij
422284237Sdelphij2015-02-14  12:23  Christos Zoulas <christos@zoulas.com>
423284237Sdelphij
424284237Sdelphij	* Bump file search buffer size to 1M.
425284237Sdelphij
426284237Sdelphij2015-01-09  14:35  Christos Zoulas <christos@zoulas.com>
427284237Sdelphij
428284237Sdelphij	* Fix multiple issues with date formats reported by Christoph Biedl:
429284237Sdelphij		- T_LOCAL meaning was reversed
430284237Sdelphij		- Arithmetic did not work
431284237Sdelphij	  Also stop adjusting daylight savings for gmt printing.
432284237Sdelphij
433284237Sdelphij2015-01-05  13:00  Christos Zoulas <christos@zoulas.com>
434284237Sdelphij
435284237Sdelphij	* PR/411: Fix memory corruption from corrupt cdf file.
436284237Sdelphij
437276577Sdelphij2015-01-02  15:15  Christos Zoulas <christos@zoulas.com>
438276577Sdelphij
439276577Sdelphij	* release 5.22
440276577Sdelphij
441276577Sdelphij2015-01-01  12:01  Christos Zoulas <christos@zoulas.com>
442276577Sdelphij
443276577Sdelphij	* add indirect relative for TIFF/Exif
444276577Sdelphij
445276577Sdelphij2014-12-16  18:10  Christos Zoulas <christos@zoulas.com>
446354939Sdelphij
447276577Sdelphij	* restructure elf note printing to avoid repeated messages
448276577Sdelphij	* add note limit, suggested by Alexander Cherepanov
449276577Sdelphij
450276577Sdelphij2014-12-16  16:53  Christos Zoulas <christos@zoulas.com>
451354939Sdelphij
452276577Sdelphij	* Bail out on partial pread()'s (Alexander Cherepanov)
453276577Sdelphij	* Fix incorrect bounds check in file_printable (Alexander Cherepanov)
454276577Sdelphij
455276577Sdelphij2014-12-11  20:01  Christos Zoulas <christos@zoulas.com>
456276577Sdelphij
457276577Sdelphij	* PR/405: ignore SIGPIPE from uncompress programs
458276577Sdelphij	* change printable -> file_printable and use it in
459276577Sdelphij	  more places for safety
460276577Sdelphij	* in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
461276577Sdelphij	  is present print the interpreter name.
462354939Sdelphij
463275698Sdelphij2014-12-10  20:01  Christos Zoulas <christos@zoulas.com>
464275698Sdelphij
465275698Sdelphij	* release 5.21
466275698Sdelphij
467275698Sdelphij2014-11-27  18:40  Christos Zoulas <christos@zoulas.com>
468275698Sdelphij
469275698Sdelphij	* Allow setting more parameters from the command line.
470275698Sdelphij	* Split name/use and indirect magic recursion limits.
471275698Sdelphij
472275698Sdelphij2014-11-27  11:12  Christos Zoulas <christos@zoulas.com>
473275698Sdelphij
474275698Sdelphij	* Adjust ELF parameters and the default recursion
475275698Sdelphij	  level.
476275698Sdelphij	* Allow setting the recursion level dynamically.
477275698Sdelphij
478275698Sdelphij2014-11-24   8:55  Christos Zoulas <christos@zoulas.com>
479275698Sdelphij
480275698Sdelphij	* The following fixes resulted from Thomas Jarosch's fuzzing
481275698Sdelphij	  tests that revealed severe performance issues on pathological
482275698Sdelphij	  input:
483275698Sdelphij	    - limit number of elf program and sections processing
484275698Sdelphij	    - abort elf note processing quickly
485275698Sdelphij	    - reduce the number of recursion levels from 20 to 10
486275698Sdelphij	    - preserve error messages in indirect magic handling
487275698Sdelphij
488276577Sdelphij	This is tracked as CVE-2014-8116 and CVE-2014-8117
489276577Sdelphij
490275698Sdelphij2014-11-12  10:30  Christos Zoulas <christos@zoulas.com>
491275698Sdelphij
492275698Sdelphij	* fix bogus free in the user buffer case.
493275698Sdelphij
494275698Sdelphij2014-11-11  12:35  Christos Zoulas <christos@zoulas.com>
495275698Sdelphij
496275698Sdelphij	* fix out of bounds read for pascal strings
497275698Sdelphij	* fix memory leak (not freeing the head of each mlist)
498275698Sdelphij
499275698Sdelphij2014-11-07  10:25  Christos Zoulas <christos@zoulas.com>
500275698Sdelphij
501275698Sdelphij	* When printing strings from a file, convert them to printable
502275698Sdelphij	  on a byte by byte basis, so that we don't get issues with
503275698Sdelphij	  locale's trying to interpret random byte streams as UTF-8 and
504275698Sdelphij	  having printf error out with EILSEQ.
505354939Sdelphij
506275698Sdelphij2014-10-17  11:48  Christos Zoulas <christos@zoulas.com>
507275698Sdelphij
508275698Sdelphij	* fix bounds in note reading (Francisco Alonso / Red Hat)
509275698Sdelphij
510275698Sdelphij2014-10-11  15:02  Christos Zoulas <christos@zoulas.com>
511275698Sdelphij
512275698Sdelphij	* fix autoconf glue for setlocale and locale_t; some OS's
513275698Sdelphij	  have locale_t in xlocale.h
514275698Sdelphij
515275698Sdelphij2014-10-10  15:01  Christos Zoulas <christos@zoulas.com>
516275698Sdelphij
517275698Sdelphij	* release 5.20
518275698Sdelphij
519275698Sdelphij2014-08-17  10:01  Christos Zoulas <christos@zoulas.com>
520275698Sdelphij
521275698Sdelphij	* recognize encrypted CDF documents
522275698Sdelphij
523275698Sdelphij2014-08-04   9:18  Christos Zoulas <christos@zoulas.com>
524275698Sdelphij
525275698Sdelphij	* add magic_load_buffers from Brooks Davis
526275698Sdelphij
527275698Sdelphij2014-07-24  16:40  Christos Zoulas <christos@zoulas.com>
528275698Sdelphij
529275698Sdelphij	* add thumbs.db support
530275698Sdelphij
531267897Sdelphij2014-06-12  12:28  Christos Zoulas <christos@zoulas.com>
532267897Sdelphij
533267897Sdelphij	* release 5.19
534267897Sdelphij
535267897Sdelphij2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>
536354939Sdelphij
537267897Sdelphij	* Misc buffer overruns and missing buffer size tests in cdf parsing
538267897Sdelphij	  (Francisco Alonso, Jan Kaluza)
539267897Sdelphij
540267897Sdelphij2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>
541267897Sdelphij
542267897Sdelphij	* Enforce limit of 8K on regex searches that have no limits
543267897Sdelphij	* Allow the l modifier for regex to mean line count. Default
544267897Sdelphij	  to byte count. If line count is specified, assume a max
545267897Sdelphij	  of 80 characters per line to limit the byte count.
546267897Sdelphij	* Don't allow conversions to be used for dates, allowing
547267897Sdelphij	  the mask field to be used as an offset.
548267897Sdelphij
549267897Sdelphij2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>
550267897Sdelphij
551267897Sdelphij	* Make the range operator limit the length of the
552267897Sdelphij	  regex search.
553267897Sdelphij
554267897Sdelphij2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>
555267897Sdelphij
556267897Sdelphij	* PR/347: Windows fixes
557267897Sdelphij	* PR/352: Hangul word processor recognition
558267897Sdelphij	* PR/354: Encoding irregularities in text files
559267897Sdelphij
560267897Sdelphij2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>
561267897Sdelphij
562267897Sdelphij	* Fix uninitialized title in CDF files (Jan Kaluza)
563267897Sdelphij
564267897Sdelphij2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>
565267897Sdelphij
566354939Sdelphij	* PR/351: Fix compilation of empty files
567267897Sdelphij
568267897Sdelphij2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>
569267897Sdelphij
570267897Sdelphij	* Fix integer formats: We don't specify 'l' or
571267897Sdelphij	  'h' and 'hh' specifiers anymore, only 'll' for
572267897Sdelphij	  quads and nothing for the rest. This is so that
573267897Sdelphij	  magic writing is simpler.
574267897Sdelphij
575267897Sdelphij2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>
576267897Sdelphij
577267897Sdelphij	* PR/341: Jan Kaluza, fix memory leak
578267897Sdelphij	* PR/342: Jan Kaluza, fix out of bounds read
579267897Sdelphij
580267897Sdelphij2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>
581267897Sdelphij
582267897Sdelphij	* Fix issue with long formats not matching fmtcheck
583267897Sdelphij
584267897Sdelphij2014-03-26  11:25  Christos Zoulas <christos@zoulas.com>
585267897Sdelphij
586267897Sdelphij	* release 5.18
587267897Sdelphij
588267897Sdelphij2014-03-15  17:45  Christos Zoulas <christos@zoulas.com>
589267897Sdelphij
590267897Sdelphij	* add fmtcheck(3) for those who don't have it
591267897Sdelphij
592267897Sdelphij2014-03-14  15:12  Christos Zoulas <christos@zoulas.com>
593267897Sdelphij
594267897Sdelphij	* prevent mime entries from being attached to magic
595267897Sdelphij	  entries with no descriptions
596267897Sdelphij
597267897Sdelphij	* adjust magic strength for regex type
598267897Sdelphij
599267897Sdelphij	* remove superfluous ascmagic with encoding test
600267897Sdelphij
601267897Sdelphij2014-03-06  12:01  Christos Zoulas <christos@zoulas.com>
602267897Sdelphij
603267897Sdelphij	* fix regression fix echo -ne "\012\013\014" | file -i -
604267897Sdelphij	  which printed "binary" instead of "application/octet-stream"
605267897Sdelphij
606267897Sdelphij	* add size_t overflow check for magic file size
607267897Sdelphij
608267897Sdelphij2014-02-27  16:01  Christos Zoulas <christos@zoulas.com>
609267897Sdelphij
610267897Sdelphij	* experimental support for matching with CFD CLSID
611267897Sdelphij
612267897Sdelphij2014-02-18  13:04  Kimmo Suominen (kimmo@suominen.com)
613267897Sdelphij
614267897Sdelphij	* Cache old LC_CTYPE locale before setting it to "C", so
615267897Sdelphij	  we can use it to restore LC_CTYPE instead of asking
616267897Sdelphij	  setlocale() to scan the environment variables.
617267897Sdelphij
618267897Sdelphij2014-02-12  18:21  Christos Zoulas <christos@zoulas.com>
619267897Sdelphij
620267897Sdelphij	* Count recursion levels through indirect magic
621267897Sdelphij
622267897Sdelphij2014-02-11  10:40  Christos Zoulas <christos@zoulas.com>
623267897Sdelphij
624267897Sdelphij	* Prevent infinite recursion on files with indirect offsets of 0
625267897Sdelphij
626267897Sdelphij2014-01-30  21:00  Christos Zoulas <christos@zoulas.com>
627267897Sdelphij
628267897Sdelphij	* Add -E flag that makes file print filesystem errors to stderr
629267897Sdelphij	  and exit.
630267897Sdelphij
631267897Sdelphij2014-01-08  17:20  Christos Zoulas <christos@zoulas.com>
632267897Sdelphij
633267897Sdelphij	* mime printing could print results from multiple magic entries
634267897Sdelphij	  if there were multiple matches.
635267897Sdelphij	* in some cases overflow was not detected when computing offsets
636267897Sdelphij	  in softmagic.
637267897Sdelphij
638267897Sdelphij2013-12-05  12:00  Christos Zoulas <christos@zoulas.com>
639267897Sdelphij
640267897Sdelphij	* use strcasestr() to for cdf strings
641267897Sdelphij	* reset to the "C" locale while doing regex operations, or case
642267897Sdelphij	  insensitive comparisons; this is provisional
643267897Sdelphij
644267897Sdelphij2013-11-19  20:10  Christos Zoulas <christos@zoulas.com>
645267897Sdelphij
646267897Sdelphij	* always leave magic file loaded, don't unload for magic_check, etc.
647267897Sdelphij	* fix default encoding to binary instead of unknown which broke recently
648267897Sdelphij	* handle empty and one byte files, less specially so that
649267897Sdelphij	  --mime-encoding does not break completely.
650267897Sdelphij		`
651267897Sdelphij2013-11-06  14:40  Christos Zoulas <christos@zoulas.com>
652267897Sdelphij
653328874Seadler	* fix erroneous non-zero exit code from non-existent file and message
654267897Sdelphij
655267897Sdelphij2013-10-29  14:25  Christos Zoulas <christos@zoulas.com>
656267897Sdelphij
657267897Sdelphij	* add CDF MSI file detection (Guy Helmer)
658267897Sdelphij
659267897Sdelphij2013-09-03  11:56  Christos Zoulas <christos@zoulas.com>
660267897Sdelphij
661267897Sdelphij	* Don't mix errors and regular output if there was an error
662267897Sdelphij	* in magic_descriptor() don't close the file and try to restore
663267897Sdelphij	  its position
664267897Sdelphij
665267897Sdelphij2013-05-30  17:25  Christos Zoulas <christos@zoulas.com>
666267897Sdelphij
667267897Sdelphij	* Don't treat magic as an error if offset was past EOF (Christoph Biedl)
668267897Sdelphij
669267897Sdelphij2013-05-28  17:25  Christos Zoulas <christos@zoulas.com>
670354939Sdelphij
671267897Sdelphij	* Fix spacing issues in softmagic and elf (Jan Kaluza)
672267897Sdelphij
673267897Sdelphij2013-05-02  18:00  Christos Zoulas <christos@zoulas.com>
674267897Sdelphij
675267897Sdelphij	* Fix segmentation fault with multiple magic_load commands.
676267897Sdelphij
677267897Sdelphij2013-04-22  11:20  Christos Zoulas <christos@zoulas.com>
678267897Sdelphij
679267897Sdelphij	* The way "default" was implemented was not very useful
680267897Sdelphij	  because the "if something was printed at that level"
681267897Sdelphij	  was not easily controlled by the user, and the format
682267897Sdelphij	  was bound to a string which is too restrictive. Add
683267897Sdelphij	  a "clear" for that level keyword and make "default"
684267897Sdelphij	  void. This way one can do:
685267897Sdelphij
686267897Sdelphij		>>13	clear	x
687267897Sdelphij		>>13	lelong	1	foo
688267897Sdelphij		>>13	lelong	2	bar
689267897Sdelphij		>>13	default	x
690267897Sdelphij		>>>13	lelong	x	unknown %x
691267897Sdelphij
692267897Sdelphij2013-03-25  13:20  Christos Zoulas <christos@zoulas.com>
693267897Sdelphij
694267897Sdelphij	* disallow strength setting in "name" entries
695267897Sdelphij
696267897Sdelphij2013-03-06  21:24  Christos Zoulas <christos@zoulas.com>
697267897Sdelphij
698267897Sdelphij	* fix recursive magic separator printing
699267897Sdelphij
700267897Sdelphij2013-02-26  19:28  Christos Zoulas <christos@zoulas.com>
701267897Sdelphij
702267897Sdelphij	* limit recursion level for mget
703267897Sdelphij	* fix pread() related breakage in cdf
704267897Sdelphij	* handle offsets properly in recursive "use"
705267897Sdelphij
706267897Sdelphij2013-02-18  10:39  Christos Zoulas <christos@zoulas.com>
707267897Sdelphij
708267897Sdelphij	* add elf reading of debug info to determine if file is stripped
709267897Sdelphij	  (Jan Kaluza)
710267897Sdelphij	* use pread()
711267897Sdelphij
712267897Sdelphij2013-01-25  18:05  Christos Zoulas <christos@zoulas.com>
713267897Sdelphij
714267897Sdelphij	* change mime description size from 64 to 80 to accommodate OOXML.
715267897Sdelphij
716267897Sdelphij2013-01-11  14:50  Christos Zoulas <christos@zoulas.com>
717267897Sdelphij
718267897Sdelphij	* Warn about inconsistent continuation levels.
719267897Sdelphij	* Change fsmagic to add a space after it prints.
720267897Sdelphij
721267897Sdelphij2013-01-10  21:00  Christos Zoulas <christos@zoulas.com>
722267897Sdelphij
723267897Sdelphij	* Make getline public so that file can link against it.
724267897Sdelphij	  Perhaps it is better to rename it, or hide it differently.
725267897Sdelphij	  Fixes builds on platforms that do not provide it.
726354939Sdelphij
727267897Sdelphij2013-01-07  16:30  Christos Zoulas <christos@zoulas.com>
728267897Sdelphij
729267897Sdelphij	* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
730267897Sdelphij	  what long, int, short, etc is (Guy Harris)
731267897Sdelphij
732267897Sdelphij2013-01-06  11:20  Christos Zoulas <christos@zoulas.com>
733267897Sdelphij
734267897Sdelphij	* add magic_version function and constant
735267897Sdelphij	* Redo memory allocation and de-allocation.
736267897Sdelphij	  (prevents double frees on non mmap platforms)
737267897Sdelphij	* Fix bug with name/use having to do with passing
738267897Sdelphij	  found state from the parent to the child and back.
739267897Sdelphij
740267897Sdelphij2012-12-19   8:47  Christos Zoulas <christos@zoulas.com>
741267897Sdelphij
742267897Sdelphij	* Only print elf capabilities for archs we know (Jan Kaluza)
743267897Sdelphij
744267897Sdelphij2012-10-30  19:14  Christos Zoulas <christos@zoulas.com>
745267897Sdelphij
746267897Sdelphij	* Add "name" and "use" file types in order to look
747267897Sdelphij	  inside mach-o files.
748267897Sdelphij
749267897Sdelphij2012-09-06  10:40  Christos Zoulas <christos@zoulas.com>
750267897Sdelphij
751267897Sdelphij	* make --version exit 0 (Matthew Schultz)
752267897Sdelphij	* add string/T (Jan Kaluza)
753267897Sdelphij
754267897Sdelphij2012-08-09  2:15  Christos Zoulas <christos@zoulas.com>
755267897Sdelphij
756267897Sdelphij	* add z and t modifiers for our own vasprintf
757267897Sdelphij	* search for $HOME/.magic.mgc if it is there first
758267897Sdelphij	* fix reads from a pipe, and preserve errno
759267897Sdelphij
760267897Sdelphij2012-05-15  13:12  Christos Zoulas <christos@zoulas.com>
761267897Sdelphij
762267897Sdelphij	* use ctime_r, asctime_r
763267897Sdelphij
764267897Sdelphij2012-04-06  17:18  Christos Zoulas <christos@zoulas.com>
765267897Sdelphij
766267897Sdelphij	* Fixes for indirect offsets to handle apple disk formats
767267897Sdelphij
768267897Sdelphij2012-04-03  18:26  Christos Zoulas <christos@zoulas.com>
769267897Sdelphij
770267897Sdelphij	* Add windows date field types
771267897Sdelphij	* More info for windows shortcuts (incomplete)
772267897Sdelphij
773234449Sobrien2012-02-20  17:33  Christos Zoulas <christos@zoulas.com>
774234449Sobrien
775234449Sobrien	* Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)
776234449Sobrien
777234449Sobrien2011-12-15  12:17  Chris Metcalf <cmetcalf@tilera.com>
778234449Sobrien
779234449Sobrien	* Support Tilera architectures (tile64, tilepro, tilegx).
780234449Sobrien
781234449Sobrien2011-12-16  16:33  Reuben Thomas <rrt@sc3d.org>
782234449Sobrien
783234449Sobrien	* Add magic for /usr/bin/env Perl scripts
784234449Sobrien	* Weaken generic script magic to avoid clashing with
785234449Sobrien	language-specific magic.
786234449Sobrien
787234449Sobrien2011-12-08  13:37  Reuben Thomas <rrt@sc3d.org>
788234449Sobrien
789234449Sobrien	* Simplify if (p) free(p) to free(p).
790234449Sobrien
791234449Sobrien2011-12-08  13:07  Reuben Thomas <rrt@sc3d.org>
792234449Sobrien
793234449Sobrien	* Remove hardwired token finding (names.h), turning it into soft
794234449Sobrien	magic. Patterns are either anchored regexs or search/8192. English
795234449Sobrien	language detection and PL/1 detection have been removed as they
796234449Sobrien	were too fragile. -e tokens is still accepted for backwards
797234449Sobrien	compatibility.
798234449Sobrien	* Move 3ds patterns (which are commented out anyway) into autodesk
799234449Sobrien	(they were, oddly, in c-lang).
800234449Sobrien
801234449Sobrien2011-12-06  00:16  Reuben Thomas <rrt@sc3d.org>
802234449Sobrien
803234449Sobrien	* Tweak strength of generic hash-bang detectors to be less than
804234449Sobrien	specific ones.
805234449Sobrien	* Make an inconsistent description of Python scripts consistent.
806234449Sobrien
807234449Sobrien2011-12-05  23:58  Reuben Thomas <rrt@sc3d.org>
808234449Sobrien
809234449Sobrien	* Fix minor error in file(1).
810234449Sobrien
811234449Sobrien2011-11-05  00:00  Reuben Thomas <rrt@sc3d.org>
812234449Sobrien
813234449Sobrien	* Fix issue #150 (I hope).
814234449Sobrien
815234449Sobrien2011-09-22  12:57  Christos Zoulas <christos@zoulas.com>
816234449Sobrien
817234449Sobrien	* Python3 binding fixes from Kelly Anderson
818234449Sobrien
819234449Sobrien2011-09-20  11:32  Christos Zoulas <christos@zoulas.com>
820234449Sobrien
821234449Sobrien	* If a string type magic entry is marked as text or binary
822234449Sobrien	  only match text files against text entries and binary
823234449Sobrien	  files against binary entries.
824234449Sobrien
825234449Sobrien2011-09-01  12:12  Christos Zoulas <christos@zoulas.com>
826234449Sobrien
827234449Sobrien	* Don't wait for any subprocess, just the one we forked.
828234449Sobrien
829234449Sobrien2011-08-26  16:40  Christos Zoulas <christos@zoulas.com>
830234449Sobrien
831234449Sobrien	* If the application name is not set in a cdf file, try to see
832234449Sobrien	  if it has a directory with the application name on it.
833234449Sobrien
834234449Sobrien2011-08-17  14:32  Christos Zoulas <christos@zoulas.com>
835234449Sobrien
836234449Sobrien	* Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
837234449Sobrien
838234449Sobrien2011-08-14  09:03  Christos Zoulas <christos@zoulas.com>
839234449Sobrien
840234449Sobrien	* Don't use variable string formats.
841234449Sobrien
842234449Sobrien2011-07-12  12:32  Reuben Thomas <rrt@sc3d.org>
843234449Sobrien
844234449Sobrien	* Fix detection of Zip files (Mantis #128).
845234449Sobrien	* Make some minor improvements to file(1).
846234449Sobrien	* Rename MIME types for filesystem objects for consistency with
847234449Sobrien	  xdg-utils. Typically this means that application/x-foo becomes
848234449Sobrien	  inode/foo, but some names also change slightly, e.g.
849234449Sobrien	  application/x-character-device becomes inode/chardevice.
850234449Sobrien
851234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
852234449Sobrien
853234449Sobrien	* fix mingw compilation (Abradoks)
854234449Sobrien
855234449Sobrien2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
856234449Sobrien
857234449Sobrien	* remove patchlevel.h
858234449Sobrien	* Fix read past allocated memory caused by double-incrementing
859234449Sobrien	  a pointer in a loop (reported by Roberto Maar)
860234449Sobrien
861234449Sobrien2011-03-30  15:45  Christos Zoulas <christos@zoulas.com>
862234449Sobrien
863234449Sobrien	* Fix cdf string buffer setting (Sven Anders)
864234449Sobrien
865234449Sobrien2011-03-20  16:35  Christos Zoulas <christos@zoulas.com>
866234449Sobrien
867234449Sobrien	* Eliminate MAXPATHLEN and use dynamic allocation for
868234449Sobrien	  path and file buffers.
869234449Sobrien
870234449Sobrien2011-03-15  18:15  Christos Zoulas <christos@zoulas.com>
871234449Sobrien
872234449Sobrien	* binary tests on magic entries with masks could spuriously
873234449Sobrien	  get converted to ascii.
874234449Sobrien
875234449Sobrien2011-03-12  18:06  Reuben Thomas <rrt@sc3d.org>
876234449Sobrien
877234449Sobrien	* Improve file.man (remove BUGS, present email addresses consistently).
878234449Sobrien
879234449Sobrien2011-03-07  19:38  Christos Zoulas <christos@zoulas.com>
880234449Sobrien
881234449Sobrien	* add lrzip support (from Ville Skytta)
882234449Sobrien
883234449Sobrien2011-02-10  16:36  Christos Zoulas <christos@zoulas.com>
884234449Sobrien
885234449Sobrien	* fix CDF bounds checking (Guy Helmer)
886234449Sobrien
887234449Sobrien2011-02-10  12:03  Christos Zoulas <christos@zoulas.com>
888234449Sobrien
889234449Sobrien	* add cdf_ctime() that prints a meaningful error when time cannot
890234449Sobrien	  be converted.
891234449Sobrien
892234449Sobrien2011-02-02  20:40  Christos Zoulas <christos@zoulas.com>
893234449Sobrien
894234449Sobrien	* help and version output to stdout.
895234449Sobrien
896234449Sobrien	* When matching softmagic for ascii files, don't just print
897234449Sobrien	  the softmagic classification, keep going and print the
898234449Sobrien	  text classification too. This fixes broken troff files when
899234449Sobrien	  we moved them from keyword recognition to softmagic
900234449Sobrien	  (they stopped printing "with CRLF" etc.)
901234449Sobrien	  Reported by Doug McIlroy.
902234449Sobrien
903234449Sobrien2011-01-16  19:31  Reuben Thomas <rrt@sc3d.org>
904234449Sobrien
905234449Sobrien	* Fix two potential buffer overruns in apprentice_list.
906234449Sobrien
907234449Sobrien2011-01-14  22:33  Reuben Thomas <rrt@sc3d.org>
908234449Sobrien
909234449Sobrien	* New Python binding in pure Python.
910234449Sobrien	* Update libmagic(3).
911234449Sobrien
912234449Sobrien2011-01-06  21:40  Reuben Thomas <rrt@sc3d.org>
913234449Sobrien
914234449Sobrien	* Fix Python bindings (including recent Python 3 compatibility
915234449Sobrien	  update).
916234449Sobrien
917234449Sobrien2011-01-04  18:43  Reuben Thomas <rrt@sc3d.org>
918234449Sobrien
919234449Sobrien	* magic/Makefile.am: make it easier to recover from magic build failures.
920234449Sobrien	* Fix pstring length specifier parsing to avoid generating invalid
921234449Sobrien	  magic files.
922234449Sobrien	* Add pstring length "J" (for "JPEG") to specify that the length
923234449Sobrien	  include itself.
924234449Sobrien	* Fix JPEG comment parsing at last using pstring/HJ!
925234449Sobrien	* Ignore section 5 man pages in doc/.cvsignore.
926234449Sobrien
927234449Sobrien2010-12-22  13:12  Christos Zoulas <christos@zoulas.com>
928234449Sobrien
929234449Sobrien	* Add pstring/BHhLl to specify the type of the length of pascal
930234449Sobrien	  strings.
931234449Sobrien
932234449Sobrien2010-11-26  18:39  Reuben Thomas <rrt@sc3d.org>
933234449Sobrien
934234449Sobrien	* Fix "-e soft": it was ignored when softmagic was called
935234449Sobrien	  during asciimagic.
936234449Sobrien	* Improve comments and use "unsigned char" in tar.h/is_tar.c.
937234449Sobrien
938234449Sobrien2010-11-05  17:26  Reuben Thomas <rrt@sc3d.org>
939234449Sobrien
940234449Sobrien	* Make bug reporting addresses more visible.
941234449Sobrien
942234449Sobrien2010-11-01  18:35  Reuben Thomas <rrt@sc3d.org>
943234449Sobrien
944234449Sobrien	* Add tcl magic from Gustaf Neumann
945234449Sobrien
946234449Sobrien2010-10-24  10:42  Christos Zoulas <christos@zoulas.com>
947234449Sobrien
948234449Sobrien	* Fix the whitespace comparing code (Christopher Chittleborough)
949234449Sobrien
950234449Sobrien2010-10-06  21:05  Christos Zoulas <christos@zoulas.com>
951234449Sobrien
952234449Sobrien	* allow string/t to work (Jan Kaluza)
953234449Sobrien
954234449Sobrien2010-09-20  22:11  Reuben Thomas <rrt@sc3d.org>
955234449Sobrien
956234449Sobrien	* Apply some patches from Ubuntu and Fedora.
957234449Sobrien
958234449Sobrien2010-09-20  21:16  Reuben Thomas <rrt@sc3d.org>
959234449Sobrien
960234449Sobrien	* Apply all patches from Debian package 5.04-6 which have not
961234449Sobrien	  already been applied and are not Debian-specific.
962234449Sobrien
963234449Sobrien2010-09-20  15:24  Reuben Thomas <rrt@sc3d.org>
964234449Sobrien
965234449Sobrien	* Minor security fix to softmagic.c (don't use untrusted
966234449Sobrien	  string as printf format).
967234449Sobrien
968234449Sobrien2010-07-21  12:20  Christos Zoulas <christos@zoulas.com>
969234449Sobrien
970234449Sobrien	* MINGW32 portability from LRN
971234449Sobrien
972234449Sobrien	* Don't warn about escaping magic regex chars when we are in a regex.
973234449Sobrien
974234449Sobrien2010-07-19  10:55  Christos Zoulas <christos@zoulas.com>
975234449Sobrien
976234449Sobrien	* Only try to print prpsinfo for core files. (Jan Kaluza)
977234449Sobrien
978234449Sobrien2010-04-22  12:55  Christos Zoulas <christos@zoulas.com>
979234449Sobrien
980234449Sobrien	* Try more elf offsets for Debian core files.  (Arnaud Giersch)
981234449Sobrien
982234449Sobrien2010-02-20  15:18  Reuben Thomas <rrt@sc3d.org>
983234449Sobrien
984234449Sobrien	* Clarify which sort of CDF we mean.
985234449Sobrien
986234449Sobrien2010-02-14  22:58  Reuben Thomas <rrt@sc3d.org>
987234449Sobrien
988234449Sobrien	* Re-jig Zip file type magic so that unsupported special
989234449Sobrien	  Zip types (those with "mimetype" at offset 30) can be
990234449Sobrien	  recognized.
991234449Sobrien
992234449Sobrien2010-02-02  21:50  Reuben Thomas <rrt@sc3d.org>
993234449Sobrien
994234449Sobrien	* Add support for OCF (EPUB) files (application/epub+zip)
995234449Sobrien
996234449Sobrien2010-01-28  18:25  Christos Zoulas <christos@zoulas.com>
997234449Sobrien
998234449Sobrien	* Fix core-dump from unbound loop:
999234449Sobrien	  https://bugzilla.redhat.com/show_bug.cgi?id=533245
1000234449Sobrien
1001234449Sobrien2010-01-22  15:45  Christos Zoulas <christos@zoulas.com>
1002234449Sobrien
1003234449Sobrien	* print proper mime for crystal reports file
1004234449Sobrien
1005234449Sobrien	* print the last summary information of a cdf document, not the
1006234449Sobrien	  first so that nested documents print the right info
1007234449Sobrien
1008234449Sobrien2010-01-16  18:42  Charles Longeau <chl@tuxfamily.org>
1009234449Sobrien
1010234449Sobrien	* bring back some fixes from OpenBSD:
1011234449Sobrien		- make gcc2 builds file
1012234449Sobrien		- fix typos in a magic file comment
1013234449Sobrien
1014234449Sobrien2009-11-17  18:35  Christos Zoulas <christos@zoulas.com>
1015234449Sobrien
1016234449Sobrien	* ctime/asctime can return NULL on some OS's although
1017234449Sobrien	  they should not (Toshit Antani)
1018234449Sobrien
1019234449Sobrien2009-09-14  13:49  Christos Zoulas <christos@zoulas.com>
1020234449Sobrien
1021234449Sobrien	* Centralize magic path handling routines and remove the
1022234449Sobrien	  special-casing from file.c so that the python module for
1023234449Sobrien	  example comes up with the same magic path (Fixes ~/.magic
1024234449Sobrien	  handling) (from Gab)
1025234449Sobrien
1026234449Sobrien2009-09-11  23:38  Reuben Thomas <rrt@sc3d.org>
1027234449Sobrien
1028234449Sobrien	* When magic argument is a directory, read the files in
1029234449Sobrien	  strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
1030234449Sobrien
1031234449Sobrien2009-09-11  13:11  Reuben Thomas <rrt@sc3d.org>
1032234449Sobrien
1033234449Sobrien	* Combine overlapping epoc and psion magic files into one (epoc).
1034234449Sobrien
1035234449Sobrien	* Add some more EPOC MIME types.
1036234449Sobrien
1037234449Sobrien2009-08-19  15:55  Christos Zoulas <christos@zoulas.com>
1038234449Sobrien
1039234449Sobrien	* Fix 3 bugs (From Ian Darwin):
1040234449Sobrien	    - file_showstr could move one past the end of the array
1041234449Sobrien	    - parse_apple did not nul terminate the string in the overflow case
1042234449Sobrien	    - parse_mime truncated the wrong string in the overflow case
1043234449Sobrien
1044234449Sobrien2009-08-12  12:28  Robert Byrnes  <byrnes@wildpumpkin.net>
1045234449Sobrien
1046234449Sobrien	* Include Localstuff when compiling magic.
1047234449Sobrien
1048234449Sobrien2009-07-15  10:05  Christos Zoulas <christos@zoulas.com>
1049234449Sobrien
1050234449Sobrien	* Fix logic for including mygetopts.h
1051234449Sobrien
1052234449Sobrien	* Make cdf.c compile again with debugging
1053234449Sobrien
1054234449Sobrien	* Add the necessary field handling for crystal reports files to work
1055234449Sobrien
1056234449Sobrien2009-06-23 01:34  Reuben Thomas <rrt@sc3d.org>
1057234449Sobrien
1058234449Sobrien	* Stop "(if" identifying Lisp files, that's plain dumb!
1059234449Sobrien
1060234449Sobrien2009-06-09 22:13  Reuben Thomas <rrt@sc3d.org>
1061234449Sobrien
1062234449Sobrien	* Add a couple of missing MP3 MIME types.
1063234449Sobrien
1064234449Sobrien2009-05-27 23:00  Reuben Thomas <rrt@sc3d.org>
1065234449Sobrien
1066234449Sobrien	* Add full range of hash-bang tests for Python and Ruby.
1067234449Sobrien
1068234449Sobrien	* Add MIME types for Python and Ruby scripts.
1069234449Sobrien
1070234449Sobrien2009-05-13  10:44  Christos Zoulas <christos@zoulas.com>
1071234449Sobrien
1072234449Sobrien	* off by one in parsing hw capabilities in elf
1073234449Sobrien	  (Cheng Renquan)
1074234449Sobrien
1075234449Sobrien2009-05-08  13:40  Christos Zoulas <christos@zoulas.com>
1076354939Sdelphij
1077234449Sobrien	* lint fixes and more from NetBSD
1078234449Sobrien
1079192350Sdelphij2009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
1080192350Sdelphij
1081192350Sdelphij	* Avoid null dereference in cdf code (Drew Yao)
1082192350Sdelphij
1083192350Sdelphij	* More cdf bounds checks and overflow checks
1084192350Sdelphij
1085192350Sdelphij2009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
1086192350Sdelphij
1087192350Sdelphij	* Buffer overflow fixes from Drew Yao
1088192350Sdelphij
1089192350Sdelphij2009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
1090192350Sdelphij
1091192350Sdelphij	* Fix more cdf lossage. All the documents I have
1092192350Sdelphij	  right now print the correct information.
1093192350Sdelphij
1094192350Sdelphij2009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
1095192350Sdelphij
1096354939Sdelphij	* don't print \012- separators in the same magic entry
1097192350Sdelphij	  if it consists of multiple magic printing lines.
1098192350Sdelphij
1099192350Sdelphij2009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
1100192350Sdelphij
1101192350Sdelphij	* Avoid file descriptor leak in compress code from
1102192350Sdelphij	  (Daniel Novotny)
1103192350Sdelphij
1104192350Sdelphij2009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
1105192350Sdelphij
1106192350Sdelphij	* Allow escaping of relation characters, so that we can say \^[A-Z]
1107192350Sdelphij	  and the ^ is not eaten as a relation char.
1108192350Sdelphij
1109192350Sdelphij	* Fix troff and fortran to their previous glory using
1110192350Sdelphij	  regex. This was broken since their removel from ascmagic.
1111192350Sdelphij
1112192350Sdelphij2009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
1113192350Sdelphij
1114192350Sdelphij	* don't use strlen in strndup() (Toby Peterson)
1115192350Sdelphij
1116192350Sdelphij2009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
1117192350Sdelphij
1118192350Sdelphij	* avoid c99 syntax.
1119192350Sdelphij
1120192350Sdelphij2009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
1121192350Sdelphij
1122192350Sdelphij	* make the cdf code use the buffer first if available,
1123192350Sdelphij	  and then the fd code.
1124192350Sdelphij
1125192350Sdelphij2009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
1126192350Sdelphij
1127192350Sdelphij	* look for struct option to determine if getopt.h is usable for IRIX.
1128192350Sdelphij
1129192350Sdelphij	* sanitize cdf document strings
1130192350Sdelphij
1131192350Sdelphij2009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
1132192350Sdelphij
1133192350Sdelphij	* fix OS/2 warnings.
1134192350Sdelphij
1135191771Sobrien2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
1136191771Sobrien
1137191771Sobrien	* fix initial offset calculation for non 4K sector files
1138191771Sobrien
1139191771Sobrien	* add loop limits to avoid DoS attacks by constructing
1140191771Sobrien	  looping sector references.
1141191771Sobrien
1142191771Sobrien2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
1143191771Sobrien
1144191771Sobrien	* fix memory botches on cdf file parsing.
1145191771Sobrien
1146191771Sobrien	* exit with non-zero value for any error, not just for the last
1147191771Sobrien	  file processed.
1148191771Sobrien
1149191771Sobrien2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
1150191771Sobrien
1151191771Sobrien	* Replace all str{cpy,cat} functions with strl{cpy,cat}
1152191771Sobrien	* Ensure that strl{cpy,cat} are included in libmagic,
1153191771Sobrien	  as needed.
1154191771Sobrien
1155191771Sobrien2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
1156191771Sobrien
1157191771Sobrien	* Handle ID3 format files.
1158191771Sobrien
1159191771Sobrien2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
1160191771Sobrien
1161191771Sobrien	* Fix --mime, --mime-type and --mime-encoding under new scheme.
1162191771Sobrien
1163191771Sobrien	* Rename "ascii" to "text" and add "encoding" test.
1164191771Sobrien
1165191771Sobrien	* Return a precise ("utf-16le" or "utf-16be") MIME charset for
1166191771Sobrien	  UTF-16.
1167191771Sobrien
1168191771Sobrien	* Fix error in comment caused by automatic indentation adding
1169191771Sobrien	  words!
1170191771Sobrien
1171191771Sobrien2008-11-06 10:35  Christos Zoulas <christos@astron.com>
1172191771Sobrien
1173191771Sobrien	* use memchr instead of strchr because the string
1174191771Sobrien	  might not be NUL terminated (Scott MacVicar)
1175191771Sobrien
1176191771Sobrien2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
1177191771Sobrien
1178191771Sobrien	* Fix a printf with a non-literal format string.
1179191771Sobrien
1180191771Sobrien	* Fix formatting and punctuation of help for "--apple".
1181191771Sobrien
1182191771Sobrien2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
1183191771Sobrien
1184191771Sobrien	* Correct words counts in comments of struct magic.
1185191771Sobrien
1186191771Sobrien	* Fix handle_annotation to allow both Apple and MIME types to be
1187191771Sobrien	  printed, and to return correct code if MIME type is
1188191771Sobrien	  printed (1, not 0) or if there's an error (-1 not 1).
1189191771Sobrien
1190191771Sobrien	* Fix output of charset for MIME type (precede with semi-colon;
1191191771Sobrien	  fixes Debian bug #501460).
1192191771Sobrien
1193191771Sobrien	* Fix potential attacks via conversion specifications in magic
1194191771Sobrien	  strings.
1195191771Sobrien
1196191771Sobrien	* Add a FIXME for Debian bug #488562 (magic files should be
1197191771Sobrien	  read in a defined order, by sorting the names).
1198191771Sobrien
1199191771Sobrien2008-10-18 16:45  Christos Zoulas <christos@astron.com>
1200191771Sobrien
1201191771Sobrien	* Added APPLE file creator/type
1202191771Sobrien
1203191771Sobrien2008-10-12 10:20  Christos Zoulas <christos@astron.com>
1204191771Sobrien
1205191771Sobrien	* Added CDF parsing
1206191771Sobrien
1207191771Sobrien2008-10-09 16:40  Christos Zoulas <christos@astron.com>
1208191771Sobrien
1209191771Sobrien	* filesystem and msdos patches (Joerg Jenderek)
1210191771Sobrien
1211191771Sobrien2008-10-09 13:20  Christos Zoulas <christos@astron.com>
1212191771Sobrien
1213191771Sobrien	* correct --exclude documentation issues: remove troff and fortran
1214191771Sobrien	  and rename "token" to "tokens". (Randy McMurchy)
1215191771Sobrien
1216191771Sobrien2008-10-01 10:30  Christos Zoulas <christos@astron.com>
1217191771Sobrien
1218191771Sobrien	* Read ~/.magic in addition to the default magic file not instead
1219191771Sobrien	  of, as documented in the man page.
1220191771Sobrien
1221191771Sobrien2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
1222191771Sobrien
1223191771Sobrien	* Comment out graphviz patterns, as they match too many files.
1224191771Sobrien
1225186691Sobrien2008-08-30 12:54  Christos Zoulas <christos@astron.com>
1226175296Sobrien
1227186691Sobrien	* Don't eat trailing \n in magic enties.
1228186691Sobrien
1229186691Sobrien	* Cast defines to allow compilation using a c++ compiler.
1230186691Sobrien
1231191771Sobrien2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
1232191771Sobrien
1233191771Sobrien	* Add text/x-lua MIME type for Lua scripts.
1234191771Sobrien
1235191771Sobrien	* Escape { in regex in graphviz patterns.
1236191771Sobrien
1237186691Sobrien2008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
1238186691Sobrien
1239186691Sobrien	* Add MIME types for special files.
1240186691Sobrien
1241186691Sobrien	* Use access to give more accurate information for files that
1242186691Sobrien	  can't be opened.
1243186691Sobrien
1244186691Sobrien	* Add a TODO list.
1245186691Sobrien
1246186691Sobrien2008-07-02 11:15  Christos Zoulas  <christos@astron.com>
1247186691Sobrien
1248186691Sobrien	* add !:strength op to adjust magic strength (experimental)
1249186691Sobrien
1250186691Sobrien2008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
1251186691Sobrien
1252186691Sobrien	* Fix automake error in configure.ac.
1253186691Sobrien
1254186691Sobrien	* Add MIME type for Psion Sketch files.
1255186691Sobrien
1256186691Sobrien2008-06-05 08:59  Christos Zoulas  <christos@astron.com>
1257186691Sobrien
1258186691Sobrien	* Don't print warnings about bad namesize in stripped
1259186691Sobrien	  binaries with PT_NOTE is still there, and the actual
1260186691Sobrien	  note is gone (Jakub Jelinek)
1261186691Sobrien
1262186691Sobrien2008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
1263186691Sobrien
1264186691Sobrien	* magic/Magdir/elf:
1265186691Sobrien	  Note invalid byte order for little-endian SPARC32PLUS.
1266186691Sobrien	  Add SPARC V9 vendor extensions and memory model.
1267186691Sobrien
1268186691Sobrien	* src/elfclass.h:
1269186691Sobrien	  Pass target machine to doshn (for Solaris hardware capabilities).
1270186691Sobrien
1271186691Sobrien	* src/readelf.c (doshn):
1272186691Sobrien	  Add support for Solaris hardware/software capabilities.
1273186691Sobrien
1274186691Sobrien	* src/readelf.h:
1275186691Sobrien	  Ditto.
1276186691Sobrien
1277186691Sobrien	* src/vasprintf.c (dispatch):
1278186691Sobrien	  Add support for ll modifier.
1279186691Sobrien
1280186691Sobrien2008-05-16 10:25  Christos Zoulas  <christos@astron.com>
1281186691Sobrien
1282186691Sobrien	* Fix compiler warnings.
1283186691Sobrien
1284186691Sobrien	* remove stray printf, and fix a vprintf bug. (Martin Dorey)
1285186691Sobrien
1286186691Sobrien2008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
1287186691Sobrien
1288191771Sobrien	* src/Makefile.am:
1289186691Sobrien	  Ensure that getopt_long and [v]asprintf are included in libmagic,
1290186691Sobrien	  as needed.
1291186691Sobrien
1292186691Sobrien	  Remove unnecessary EXTRA_DIST.
1293186691Sobrien
1294191771Sobrien	* src/Makefile.in:
1295186691Sobrien	  Rerun automake.
1296186691Sobrien
1297191771Sobrien	* src/vasprintf.c (dispatch):
1298186691Sobrien	  Fix variable precision bug: be sure to step past '*'.
1299186691Sobrien
1300191771Sobrien	* src/vasprintf.c (core):
1301186691Sobrien	  Remove unreachable code.
1302186691Sobrien
1303191771Sobrien	* src/apprentice.c (set_test_type):
1304186691Sobrien	  Add cast to avoid compiler warning.
1305186691Sobrien
1306186691Sobrien2008-04-22 23:45  Christos Zoulas  <christos@astron.com>
1307186691Sobrien
1308186691Sobrien	* Add magic submission guidelines (Abel Cheung)
1309186691Sobrien
1310186691Sobrien	* split msdos and windows magic (Abel Cheung)
1311186691Sobrien
1312186691Sobrien2008-04-04 11:00  Christos Zoulas  <christos@astron.com>
1313186691Sobrien
1314191771Sobrien	* >= <= is not supported, so fix the magic and warn about it.
1315186691Sobrien	  reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
1316186691Sobrien
1317186691Sobrien2008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
1318186691Sobrien
1319191771Sobrien	* src/readelf.c (donote):
1320186691Sobrien	  ELF core file command name/line bug fixes and enhancements:
1321186691Sobrien
1322186691Sobrien	  Try larger offsets first to avoid false matches
1323186691Sobrien	  from earlier data that happen to look like strings;
1324186691Sobrien	  this primarily affected SunOS 5.x 32-bit Intel core files.
1325186691Sobrien
1326186691Sobrien	  Add support for command line (instead of just short name)
1327186691Sobrien	  for SunOS 5.x.
1328186691Sobrien
1329186691Sobrien	  Add information about NT_PSINFO for SunOS 5.x.
1330186691Sobrien
1331186691Sobrien	  Only trim whitespace from end of command line.
1332186691Sobrien
1333186691Sobrien2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
1334186691Sobrien
1335186691Sobrien	* Change strength of ! from MULT to 0, as it matches almost
1336186691Sobrien		  anything (Reuben Thomas)
1337186691Sobrien
1338186691Sobrien	* Debian fixes (Reuben Thomas)
1339186691Sobrien
1340186691Sobrien2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
1341186691Sobrien
1342186691Sobrien	* Clarify UTF-8 BOM message (Reuben Thomas)
1343186691Sobrien
1344186691Sobrien	* Add HTML comment to token list in names.h
1345191771Sobrien
1346186691Sobrien2007-02-04 15:50 Christos Zoulas <christos@astron.com>
1347186691Sobrien
1348186691Sobrien	* Debian fixes (Reuben Thomas)
1349186691Sobrien
1350186691Sobrien2007-02-04 11:31 Christos Zoulas <christos@astron.com>
1351186691Sobrien
1352186691Sobrien	* !:mime annotations in magic files (Reuben Thomas)
1353186691Sobrien
1354186691Sobrien2007-01-29 15:35 Christos Zoulas <christos@astron.com>
1355186691Sobrien
1356186691Sobrien	* zero out utime/utimes structs (Gavin Atkinson)
1357186691Sobrien
1358186691Sobrien2007-01-26 13:45 Christos Zoulas <christos@astron.com>
1359186691Sobrien
1360186691Sobrien	* reduce writable data from Diego "Flameeyes" Petten
1361186691Sobrien
1362186691Sobrien2007-12-28 15:06 Christos Zoulas <christos@astron.com>
1363186691Sobrien
1364175296Sobrien	* strtof detection
1365175296Sobrien
1366175296Sobrien	* remove bogus regex magic that could cause a DoS
1367175296Sobrien
1368175296Sobrien	* better mismatch version message
1369175296Sobrien
1370186691Sobrien2007-12-27 11:35 Christos Zoulas <christos@astron.com>
1371175296Sobrien
1372175296Sobrien	* bring back some fixes from OpenBSD
1373175296Sobrien
1374175296Sobrien	* treat ELF dynamic objects as executables
1375175296Sobrien
1376175296Sobrien	* fix gcc warnings
1377175296Sobrien
1378186691Sobrien2007-12-01 19:55 Christos Zoulas <christos@astron.com>
1379175296Sobrien
1380175296Sobrien	* make sure we have zlib.h and libz to compile the builtin
1381175296Sobrien	  decompress code
1382175296Sobrien
1383186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
1384175296Sobrien
1385191771Sobrien 	* float and double magic support (Behan Webster)
1386175296Sobrien
1387186691Sobrien2007-10-28 20:48 Christos Zoulas <christos@astron.com>
1388175296Sobrien
1389175296Sobrien	* Convert fortran to a soft test (Reuben Thomas)
1390175296Sobrien
1391186691Sobrien2007-10-23  5:25 Christos Zoulas <christos@astron.com>
1392175296Sobrien
1393175296Sobrien	* Add --with-filename, and --no-filename (Reuben Thomas)
1394175296Sobrien
1395186691Sobrien2007-10-23  3:59 Christos Zoulas <christos@astron.com>
1396175296Sobrien
1397175296Sobrien	* Rest of the mime split (Reuben Thomas)
1398175296Sobrien
1399175296Sobrien	* Make usage message generated from the flags so that
1400175296Sobrien	  they stay consistent (Reuben Thomas)
1401175296Sobrien
1402186691Sobrien2007-10-20  3:06 Christos Zoulas <christos@astron.com>
1403175296Sobrien
1404175296Sobrien	* typo in comment, missing ifdef QUICK, remove unneeded code
1405175296Sobrien		(Charles Longeau)
1406175296Sobrien
1407186691Sobrien2007-10-17  3:33 Christos Zoulas <christos@astron.com>
1408175296Sobrien
1409175296Sobrien	* Fix problem printing -\012 in some entries
1410175296Sobrien
1411175296Sobrien	* Separate magic type and encoding flags (Reuben Thomas)
1412175296Sobrien
1413186691Sobrien2007-10-09  3:55 Christos Zoulas <christos@astron.com>
1414175296Sobrien
1415175296Sobrien	* configure fix for int64 and strndup (Reuben Thomas)
1416175296Sobrien
1417186691Sobrien2007-09-26  4:45 Christos Zoulas <christos@astron.com>
1418175296Sobrien
1419175296Sobrien	* Add magic_descriptor() function.
1420175296Sobrien
1421175296Sobrien	* Fix regression in elf reading code where the core name was
1422175296Sobrien	  not being printed.
1423175296Sobrien
1424175296Sobrien	* Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
1425175296Sobrien
1426186691Sobrien2007-08-19  6:30 Christos Zoulas <christos@astron.com>
1427175296Sobrien
1428175296Sobrien	* Make mime format consistent so that it can
1429175296Sobrien	  be easily parsed:
1430175296Sobrien	      mimetype [charset=character-set] [encoding=encoding-mime-type]
1431175296Sobrien
1432191771Sobrien	  Remove spurious extra text from some MIME type printouts
1433175296Sobrien	  (mostly in is_tar).
1434175296Sobrien
1435175296Sobrien	  Fix one case where -i produced nothing at all (for a 1-byte file,
1436175296Sobrien	  which is now classed as application/octet-stream).
1437175296Sobrien
1438175296Sobrien	  Remove 7/8bit classifications, since they were arbitrary
1439175296Sobrien	  and not based on the file data.
1440175296Sobrien
1441175296Sobrien	  This work was done by Reuben Thomas
1442175296Sobrien
1443186691Sobrien2007-05-24 10:00 Christos Zoulas <christos@astron.com>
1444169962Sobrien
1445169962Sobrien	* Fix another integer overflow (Colin Percival)
1446169962Sobrien
1447186691Sobrien2007-03-26 13:58 Christos Zoulas <christos@astron.com>
1448169962Sobrien
1449169962Sobrien	* make sure that all of struct magic_set is initialized appropriately
1450169962Sobrien	  (Brett)
1451169962Sobrien
1452186691Sobrien2007-03-25 17:44 Christos Zoulas <christos@astron.com>
1453169962Sobrien
1454169962Sobrien	* reset left bytes in the buffer (Dmitry V. Levin)
1455169962Sobrien
1456169962Sobrien	* compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
1457169962Sobrien	  (Peter Avalos)
1458169962Sobrien
1459186691Sobrien2007-03-15 10:51 Christos Zoulas <christos@astron.com>
1460169962Sobrien
1461169962Sobrien	* fix fortran and nroff reversed tests (Dmitry V. Levin)
1462191771Sobrien
1463169962Sobrien	* fix exclude option (Dmitry V. Levin)
1464169962Sobrien
1465186691Sobrien2007-02-08 17:30 Christos Zoulas <christos@astron.com>
1466169962Sobrien
1467169962Sobrien	* fix integer underflow in file_printf which can lead to
1468169962Sobrien	  to exploitable heap overflow (Jean-Sebastien Guay-Lero)
1469169962Sobrien
1470186691Sobrien2007-02-05 11:35 Christos Zoulas <christos@astron.com>
1471169962Sobrien
1472169962Sobrien	* make socket/pipe reading more robust
1473169962Sobrien
1474186691Sobrien2007-01-25 16:01 Christos Zoulas <christos@astron.com>
1475169962Sobrien
1476169962Sobrien	* Centralize all the tests in file_buffer.
1477169962Sobrien
1478169962Sobrien	* Add exclude flag.
1479169962Sobrien
1480169962Sobrien2007-01-18 05:29 Anon Ymous <do@not.spam.me>
1481191771Sobrien
1482169962Sobrien	* Move the "type" detection code from parse() into its own table
1483169962Sobrien	  driven routine.  This avoids maintaining multiple lists in
1484169962Sobrien	  file.h.
1485169962Sobrien
1486169962Sobrien	* Add an optional conditional field (ust before the type field).
1487169962Sobrien	  This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
1488169962Sobrien	  likely to go away.
1489191771Sobrien
1490169962Sobrien2007-01-16 23:24 Anon Ymous <do@not.spam.me>
1491169962Sobrien
1492169962Sobrien	* Fix an initialization bug in check_mem().
1493169962Sobrien
1494169962Sobrien2007-01-16 14:58 Anon Ymous <do@not.spam.me>
1495169962Sobrien
1496169962Sobrien	* Add a "default" type to print a message if nothing previously
1497169962Sobrien	  matched at that level or since the last default at that
1498169962Sobrien	  level.  This is useful for setting up switch-like statements.
1499169962Sobrien	  It can also be used to do if/else constructions without a
1500169962Sobrien	  redundant second test.
1501169962Sobrien
1502169962Sobrien	* Fix the "x" special case test so that one can test for that
1503169962Sobrien	  string with "=x".
1504169962Sobrien
1505169962Sobrien	* Allow "search" to search the entire buffer if the "/N"
1506169962Sobrien	  search count is missing.
1507169962Sobrien
1508169962Sobrien	* Make "regex" work!  It now starts its search at the
1509169962Sobrien	  specified offset and takes an (optional) "/N" line count to
1510169962Sobrien	  specify the search range; otherwise it searches to the end
1511169962Sobrien	  of the file.  The match is now grabbed correctly for format
1512169962Sobrien	  strings and the offset set to the end of the match.
1513169962Sobrien
1514169962Sobrien	* Add a "/s" flag to "regex" and "search" to set the offset to
1515169962Sobrien	  the start of the match.  By default the offset is set to the
1516169962Sobrien	  end of the match, as it is with other tests.  This is mostly
1517169962Sobrien	  useful for "regex".
1518169962Sobrien
1519169962Sobrien	* Make "search", "string" and "pstring" use the same
1520169962Sobrien	  file_strncmp() routine so that they support the same flags;
1521169962Sobrien	  "bestring16" and "lestring16" call the same routine, but
1522169962Sobrien	  with flags = 0.  Also add a "/C" flag (in analogy to "/c")
1523169962Sobrien	  to ignore the case on uppercase (lowercase) characters in
1524169962Sobrien	  the test string.
1525169962Sobrien
1526169962Sobrien	* Strict adherence to C style string escapes.  A warnings are
1527169962Sobrien	  printed when compiling.  Note: previously "\a" was
1528169962Sobrien	  incorrectly translated to 'a' instead of an <alert> (i.e.,
1529169962Sobrien	  BELL, typically 0x07).
1530169962Sobrien
1531169962Sobrien	* Make this compile with "-Wall -Wextra" and all the warning
1532169962Sobrien	  flags used with WARNS=4 in the NetBSD source.  Also make it
1533169962Sobrien	  pass lint.
1534169962Sobrien
1535169962Sobrien	* Many "cleanups" and hopefully not too many new bugs!
1536169962Sobrien
1537169962Sobrien2007-01-16 14:56 Anon Ymous <do@not.spam.me>
1538169962Sobrien
1539169962Sobrien	* make several more files compile with gcc warnings
1540169962Sobrien	  on and also make them pass lint.
1541169962Sobrien
1542169962Sobrien2007-01-16 14:54 Anon Ymous <do@not.spam.me>
1543169962Sobrien
1544169962Sobrien	* fix a puts()/putc() usage goof in file.c
1545169962Sobrien
1546169962Sobrien	* make file.c compile with gcc warnings and pass lint
1547169962Sobrien
1548186691Sobrien2006-12-11 16:49 Christos Zoulas <christos@astron.com>
1549169942Sobrien
1550169942Sobrien	* fix byteswapping issue
1551169942Sobrien
1552169942Sobrien	* report the number of bytes we tried to
1553169942Sobrien	  allocate when allocation fails
1554169942Sobrien
1555169942Sobrien	* add a few missed cases in the strength routine
1556169942Sobrien
1557186691Sobrien2006-12-08 16:32 Christos Zoulas <christos@astron.com>
1558169942Sobrien
1559169942Sobrien	* store and print the line number of the magic
1560191771Sobrien	  entry for debugging.
1561169942Sobrien
1562169942Sobrien	* if the magic entry did not print anything,
1563169942Sobrien	  don't treat it as a match
1564169942Sobrien
1565169942Sobrien	* change the magic strength algorithm to take
1566169942Sobrien	  into account the relationship op.
1567169942Sobrien
1568169942Sobrien	* fix a bug in search where we could accidentally
1569169942Sobrien	  return a match.
1570169942Sobrien
1571169942Sobrien	* propagate the error return from match to
1572169942Sobrien	  file_softmagic.
1573169942Sobrien
1574186691Sobrien2006-11-25 13:35 Christos Zoulas <christos@astron.com>
1575191771Sobrien
1576169942Sobrien	* Don't store the current offset in the magic
1577169942Sobrien	  struct, because it needs to be restored and
1578169942Sobrien	  it was not done properly all the time. Bug
1579169942Sobrien	  found by: Arkadiusz Miskiewicz
1580169942Sobrien
1581169942Sobrien	* Fix problem in the '\0' separator; and don't
1582169942Sobrien	  print it as an additional separator; print
1583169942Sobrien	  it as the only separator.
1584169942Sobrien
1585186691Sobrien2006-11-17 10:51 Christos Zoulas <christos@astron.com>
1586169942Sobrien
1587169942Sobrien	* Added a -0 option to print a '\0' separator
1588169942Sobrien	  Etienne Buira <etienne.buira@free.fr>
1589169942Sobrien
1590186691Sobrien2006-10-31 15:14 Christos Zoulas <christos@astron.com>
1591169942Sobrien
1592169942Sobrien	* Check offset before copying (Mike Frysinger)
1593169942Sobrien
1594169942Sobrien	* merge duplicated code
1595169942Sobrien
1596169942Sobrien	* add quad date support
1597169942Sobrien
1598169942Sobrien	* make sure that we nul terminate desc (Ryoji Kanai)
1599169942Sobrien
1600169942Sobrien	* don't process elf notes multiple times
1601169942Sobrien
1602169942Sobrien	* allow -z to report empty compressed files
1603169942Sobrien
1604169942Sobrien	* use calloc to initialize the ascii buffers (Jos van den Oever)
1605169942Sobrien
1606186691Sobrien2006-06-08 11:11 Christos Zoulas <christos@astron.com>
1607169942Sobrien
1608169942Sobrien	* QNX fixes (Mike Gorchak)
1609169942Sobrien
1610169942Sobrien	* Add quad support.
1611169942Sobrien
1612169942Sobrien	* FIFO checks (Dr. Werner Fink)
1613169942Sobrien
1614169942Sobrien	* Linux ELF fixes (Dr. Werner Fink)
1615169942Sobrien
1616169942Sobrien	* Magic format checks (Dr. Werner Fink)
1617169942Sobrien
1618169942Sobrien	* Magic format function improvent (Karl Chen)
1619169942Sobrien
1620186691Sobrien2006-05-03 11:11 Christos Zoulas <christos@astron.com>
1621169942Sobrien
1622169942Sobrien	* Pick up some elf changes and some constant fixes from SUSE
1623169942Sobrien
1624169942Sobrien	* Identify gnu tar vs. posix tar
1625169942Sobrien
1626267897Sdelphij	* When keep going, don't print spurious newlines (Radek Vokal)
1627169942Sobrien
1628186691Sobrien2006-04-01 12:02 Christos Zoulas <christos@astron.com>
1629169942Sobrien
1630169942Sobrien	* Use calloc instead of malloc (Mike Frysinger)
1631169942Sobrien
1632169942Sobrien	* Fix configure script to detect wctypes.h (Mike Frysinger)
1633169942Sobrien
1634186691Sobrien2006-03-02 16:06 Christos Zoulas <christos@astron.com>
1635159764Sobrien
1636159764Sobrien	* Print empty if the file is (Mike Frysinger)
1637159764Sobrien
1638159764Sobrien	* Don't try to read past the end of the buffer (Mike Frysinger)
1639159764Sobrien
1640159764Sobrien	* Sort magic entries by strength [experimental]
1641159764Sobrien
1642186691Sobrien2005-11-29 13:26 Christos Zoulas <christos@astron.com>
1643159764Sobrien
1644159764Sobrien	* Use iswprint() to convert the output string.
1645159764Sobrien	    (Bastien Nocera)
1646159764Sobrien
1647186691Sobrien2005-10-31 8:54 Christos Zoulas <christos@astron.com>
1648159764Sobrien
1649159764Sobrien	* Fix regression where the core info was not completely processed
1650267897Sdelphij	    (Radek Vokal)
1651159764Sobrien
1652186691Sobrien2005-10-20 11:15 Christos Zoulas <christos@astron.com>
1653159764Sobrien
1654159764Sobrien	* Middle Endian magic (Diomidis Spinellis)
1655159764Sobrien
1656186691Sobrien2005-10-17 11:15 Christos Zoulas <christos@astron.com>
1657159764Sobrien
1658159764Sobrien	* Open with O_BINARY for CYGWIN (Corinna Vinschen)
1659159764Sobrien
1660159764Sobrien	* Don't close stdin (Arkadiusz Miskiewicz)
1661159764Sobrien
1662159764Sobrien	* Look for note sections in non executables.
1663159764Sobrien
1664186691Sobrien2005-09-20 13:33 Christos Zoulas <christos@astron.com>
1665191771Sobrien
1666159764Sobrien	* Don't print SVR4 Style in core files multiple times
1667267897Sdelphij	    (Radek Vokal)
1668159764Sobrien
1669186691Sobrien2005-08-27 04:09 Christos Zoulas <christos@astron.com>
1670159764Sobrien
1671159764Sobrien	* Cygwin changes Corinna Vinschen
1672159764Sobrien
1673186691Sobrien2005-08-18 09:53 Christos Zoulas <christos@astron.com>
1674159764Sobrien
1675159764Sobrien	* Remove erroreous mention of /etc/magic in the file man page
1676191771Sobrien	  This is gentoo bug 101639. (Mike Frysinger)
1677159764Sobrien
1678191771Sobrien	* Cross-compile support and detection (Mike Frysinger)
1679159764Sobrien
1680186691Sobrien2005-08-12 10:17 Christos Zoulas <christos@astron.com>
1681159764Sobrien
1682159764Sobrien	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
1683159764Sobrien	  is set.
1684159764Sobrien
1685186691Sobrien2005-07-29 13:57 Christos Zoulas <christos@astron.com>
1686159764Sobrien
1687159764Sobrien	* Avoid search and regex buffer overflows (Kelledin)
1688159764Sobrien
1689186691Sobrien2005-07-12 11:48 Christos Zoulas <christos@astron.com>
1690159764Sobrien
1691159764Sobrien	* Provide stub implementations for {v,}nsprintf() for older
1692159764Sobrien	  OS's that don't have them.
1693159764Sobrien	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
1694159764Sobrien	  to AC_TYPE_MBSTATE_T.
1695159764Sobrien
1696186691Sobrien2005-06-25 11:48 Christos Zoulas <christos@astron.com>
1697159764Sobrien
1698159764Sobrien	* Dynamically allocate the string buffers and make the
1699159764Sobrien	  default read size 256K.
1700159764Sobrien
1701159764Sobrien2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
1702159764Sobrien
1703159764Sobrien	* Dragonfly ELF note support
1704159764Sobrien
1705159764Sobrien2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
1706159764Sobrien
1707159764Sobrien	* Avoid NULL pointer dereference in time conversion.
1708159764Sobrien
1709159764Sobrien2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
1710191771Sobrien
1711159764Sobrien	* Add indirect magic offset support, and search mode.
1712159764Sobrien
1713159764Sobrien2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
1714159764Sobrien
1715191771Sobrien	* src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
1716191771Sobrien	  If a CRLF text file happens to have CR at offset HOWMANY - 1
1717191771Sobrien	  (currently 0xffff), it should not be counted as CR line
1718191771Sobrien	  terminator.
1719191771Sobrien	  If a line has length exactly MAXLINELEN, it should not yet be
1720191771Sobrien	  treated as a ``very long line'', as MAXLINELEN is ``longest sane
1721191771Sobrien	  line length''.
1722191771Sobrien	  With CRLF, the line length was not computed correctly, and even
1723191771Sobrien	  lines of length MAXLINELEN - 1 were treated as ``very long''.
1724159764Sobrien
1725186691Sobrien2004-12-07 14:15  Christos Zoulas  <christos@astron.com>
1726159764Sobrien
1727159764Sobrien	* bzip2 needs a lot of input buffer space on some files
1728159764Sobrien	  before it can begin uncompressing. This makes file -z
1729159764Sobrien	  fail on some bz2 files. Fix it by giving it a copy of
1730159764Sobrien	  the file descriptor to read as much as it wants if we
1731186691Sobrien	  have access to it. <christos@astron.com>
1732159764Sobrien
1733186691Sobrien2004-11-24 12:39  Christos Zoulas  <christos@astron.com>
1734133359Sobrien
1735139368Sobrien	* Stack smash fix, and ELF more conservative reading.
1736139368Sobrien	  Jakub Bogusz <qboosh@pld-linux.org>
1737139368Sobrien
1738186691Sobrien2004-11-20 18:50  Christos Zoulas  <christos@astron.com>
1739139368Sobrien
1740139368Sobrien	* New FreeBSD version parsing code:
1741139368Sobrien	  Jon Noack <noackjr@alumni.rice.edu>
1742139368Sobrien
1743186691Sobrien	* Hackish support for ucs16 strings <christos@astron.com>
1744139368Sobrien
1745186691Sobrien2004-11-13 03:07  Christos Zoulas  <christos@astron.com>
1746139368Sobrien
1747139368Sobrien	* print the file name and line number in syntax errors.
1748139368Sobrien
1749186691Sobrien2004 10-12 10:50  Christos Zoulas  <christos@astron.com>
1750139368Sobrien
1751139368Sobrien	* Fix stack overwriting on 0 length strings: Tim Waugh
1752139368Sobrien	    <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
1753139368Sobrien
1754186691Sobrien2004-09-27 11:30  Christos Zoulas  <christos@astron.com>
1755139368Sobrien
1756139368Sobrien	* Remove 3rd and 4th copyright clause; approved by Ian Darwin.
1757139368Sobrien
1758191771Sobrien	* Fix small memory leaks; caught by: Tamas Sarlos
1759139368Sobrien	    <stamas@csillag.ilab.sztaki.hu>
1760139368Sobrien
1761186691Sobrien2004-07-24 16:33  Christos Zoulas  <christos@astron.com>
1762133359Sobrien
1763191771Sobrien	* magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
1764133359Sobrien
1765133359Sobrien	* FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
1766133359Sobrien
1767133359Sobrien	* utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
1768133359Sobrien
1769133359Sobrien  	* errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
1770133359Sobrien
1771186691Sobrien2004-04-12 10:55  Christos Zoulas  <christos@astron.com>
1772133359Sobrien
1773133359Sobrien	* make sure that magic formats match magic types during compilation
1774133359Sobrien
1775133359Sobrien	* fix broken sgi magic file
1776133359Sobrien
1777186691Sobrien2004-04-06 20:36  Christos Zoulas  <christos@astron.com>
1778133359Sobrien
1779133359Sobrien	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
1780133359Sobrien
1781133359Sobrien	* magic fixes
1782133359Sobrien
1783186691Sobrien2004-03-22 15:25  Christos Zoulas  <christos@astron.com>
1784133359Sobrien
1785133359Sobrien	* Lots of mime fixes
1786133359Sobrien	  (Joerg Ostertag) <ostertag@rechengilde.de>
1787133359Sobrien
1788133359Sobrien	* FreeBSD ELF version handling
1789133359Sobrien	  (Edwin Groothuis) <edwin@mavetju.org>
1790133359Sobrien
1791133359Sobrien	* correct cleanup in all cases; don't just close the file.
1792186691Sobrien	  (Christos Zoulas) <christos@astron.com>
1793133359Sobrien
1794133359Sobrien	* add gettext message catalogue support
1795133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1796133359Sobrien
1797133359Sobrien	* better printout for unreadable files
1798133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1799133359Sobrien
1800133359Sobrien	* compensate for missing MAXPATHLEN
1801133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1802133359Sobrien
1803133359Sobrien	* add wide character string length computation
1804133359Sobrien	  (Michael Piefel) <piefel@debian.org>
1805133359Sobrien
1806133359Sobrien	* Avoid infinite loops caused by bad elf alignments
1807133359Sobrien	  or name and description note sizes. Reported by
1808133359Sobrien	  (Mikael Magnusson) <mmikael@comhem.se>
1809133359Sobrien
1810186691Sobrien2004-03-09 13:55  Christos Zoulas  <christos@astron.com>
1811133359Sobrien
1812133359Sobrien	* Fix possible memory leak on error and add missing regfree
1813133359Sobrien	  (Dmitry V. Levin) <ldv@altlinux.org>
1814133359Sobrien
1815186691Sobrien2003-12-23 12:12  Christos Zoulas  <christos@astron.com>
1816133359Sobrien
1817133359Sobrien	* fix -k flag (Maciej W. Rozycki)
1818133359Sobrien
1819186691Sobrien2003-11-18 14:10  Christos Zoulas  <christos@astron.com>
1820133359Sobrien
1821133359Sobrien	* Try to give us much info as possible on corrupt elf files.
1822133359Sobrien	  (Willy Tarreau) <willy@w.ods.org>
1823133359Sobrien	* Updated python bindings (Brett Funderburg)
1824133359Sobrien	   <brettf@deepfile.com>
1825133359Sobrien
1826186691Sobrien2003-11-11 15:03  Christos Zoulas  <christos@astron.com>
1827133359Sobrien
1828133359Sobrien	* Include file.h first, because it includes config.h
1829133359Sobrien	  breaks largefile test macros otherwise.
1830133359Sobrien	  (Paul Eggert <eggert@CS.UCLA.EDU> via
1831133359Sobrien	   Lars Hecking <lhecking@nmrc.ie>)
1832133359Sobrien
1833186691Sobrien2003-10-14 21:39  Christos Zoulas  <christos@astron.com>
1834133359Sobrien
1835133359Sobrien	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
1836133359Sobrien	* Don't lookup past the end of the buffer
1837133359Sobrien	  (Chad Hanson) <chanson@tcs-sec.com>
1838133359Sobrien	* Add MAGIC_ERROR and api on magic_errno()
1839133359Sobrien
1840186691Sobrien2003-10-08 12:40  Christos Zoulas  <christos@astron.com>
1841133359Sobrien
1842133359Sobrien	* handle error conditions from compile as fatal
1843133359Sobrien	  (Antti Kantee) <pooka@netbsd.org>
1844133359Sobrien	* handle magic filename parsing sanely
1845133359Sobrien	* more magic fixes.
1846133359Sobrien	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
1847133359Sobrien	* describe magic file handling
1848133359Sobrien	  (Bryan Henderson) <bryanh@giraffe-data.com>
1849133359Sobrien
1850186691Sobrien2003-09-12 15:09  Christos Zoulas  <christos@astron.com>
1851133359Sobrien
1852133359Sobrien	* update magic files.
1853133359Sobrien	* remove largefile support from file.h; it breaks things on most OS's
1854133359Sobrien
1855186691Sobrien2003-08-10 10:25  Christos Zoulas  <christos@astron.com>
1856133359Sobrien
1857133359Sobrien	* fix unmapping'ing of mmaped files.
1858133359Sobrien
1859186691Sobrien2003-07-10 12:03  Christos Zoulas  <christos@astron.com>
1860133359Sobrien
1861133359Sobrien	* don't exit with -1 on error; always exit 1 (Marty Leisner)
1862133359Sobrien	* restore utimes code.
1863133359Sobrien
1864186691Sobrien2003-06-10 17:03  Christos Zoulas  <christos@astron.com>
1865133359Sobrien
1866133359Sobrien	* make sure we don't access uninitialized memory.
1867133359Sobrien	* pass lint
1868133359Sobrien	* #ifdef __cplusplus in magic.h
1869133359Sobrien
1870186691Sobrien2003-05-25 19:23  Christos Zoulas  <christos@astron.com>
1871133359Sobrien
1872133359Sobrien	* rename cvs magic file to revision to deal with
1873133359Sobrien	  case insensitive filesystems.
1874133359Sobrien
1875186691Sobrien2003-05-23 17:03  Christos Zoulas  <christos@astron.com>
1876133359Sobrien
1877133359Sobrien	* documentation fixes from Michael Piefel <piefel@debian.org>
1878133359Sobrien	* magic fixes (various)
1879133359Sobrien	* revert basename magic in .mgc name determination
1880133359Sobrien	* buffer protection in uncompress,
1881133359Sobrien	  signness issues,
1882133359Sobrien	  close files
1883133359Sobrien	  Maciej W. Rozycki <macro@ds2.pg.gda.pl
1884133359Sobrien
1885186691Sobrien2003-04-21 20:12  Christos Zoulas  <christos@astron.com>
1886133359Sobrien
1887133359Sobrien	* fix zsh magic
1888133359Sobrien
1889186691Sobrien2003-04-04 16:59  Christos Zoulas  <christos@astron.com>
1890133359Sobrien
1891133359Sobrien	* fix operand sort order in string.
1892133359Sobrien
1893186691Sobrien2003-04-02 17:30  Christos Zoulas  <christos@astron.com>
1894133359Sobrien
1895133359Sobrien	* cleanup namespace in magic.h
1896133359Sobrien
1897186691Sobrien2003-04-02 13:50  Christos Zoulas  <christos@astron.com>
1898133359Sobrien
1899133359Sobrien	* Magic additions (Alex Ott)
1900133359Sobrien	* Fix bug that broke VPATH compilation (Peter Breitenlohner)
1901133359Sobrien
1902186691Sobrien2003-03-28 16:03  Christos Zoulas  <christos@astron.com>
1903133359Sobrien
1904133359Sobrien	* remove packed attribute from magic struct.
1905133359Sobrien	* make the magic struct properly aligned.
1906133359Sobrien	* bump version number of compiled files to 2.
1907133359Sobrien
1908186691Sobrien2003-03-27 13:10  Christos Zoulas  <christos@astron.com>
1909133359Sobrien
1910133359Sobrien	* separate tar detection and run it before softmagic.
1911133359Sobrien	* fix reversed symlink test.
1912133359Sobrien	* fix version printing.
1913133359Sobrien	* make separator a string instead of a char.
1914133359Sobrien	* update manual page and sort options.
1915133359Sobrien
1916186691Sobrien2003-03-26 11:00  Christos Zoulas  <christos@astron.com>
1917133359Sobrien
1918133359Sobrien	* Pass lint
1919133359Sobrien	* make NULL in magic_file mean stdin
1920133359Sobrien	* Fix "-" argument to file to pass NULL to magic_file
1921133359Sobrien	* avoid pointer casts by using memcpy
1922133359Sobrien	* rename magic_buf -> magic_buffer
1923133359Sobrien	* keep only the first error
1924133359Sobrien	* manual page: new sentence, new line
1925133359Sobrien	* fix typo in api function (magic_buf -> magic_buffer)
1926