12011-07-12  12:32  Reuben Thomas <rrt@sc3d.org>
2
3	* Fix detection of Zip files (Mantis #128).
4	* Make some minor improvements to file(1).
5	* Rename MIME types for filesystem objects for consistency with
6	  xdg-utils. Typically this means that application/x-foo becomes
7	  inode/foo, but some names also change slightly, e.g.
8	  application/x-character-device becomes inode/chardevice.
9
102011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
11
12	* fix mingw compilation (Abradoks)
13
142011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
15
16	* remove patchlevel.h
17	* Fix read past allocated memory caused by double-incrementing
18	  a pointer in a loop (reported by Roberto Maar)
19
202011-03-30  15:45  Christos Zoulas <christos@zoulas.com>
21
22	* Fix cdf string buffer setting (Sven Anders)
23
242011-03-20  16:35  Christos Zoulas <christos@zoulas.com>
25
26	* Eliminate MAXPATHLEN and use dynamic allocation for
27	  path and file buffers.
28
292011-03-15  18:15  Christos Zoulas <christos@zoulas.com>
30
31	* binary tests on magic entries with masks could spuriously
32	  get converted to ascii.
33
342011-03-12  18:06  Reuben Thomas <rrt@sc3d.org>
35
36	* Improve file.man (remove BUGS, present email addresses consistently).
37
382011-03-07  19:38  Christos Zoulas <christos@zoulas.com>
39
40	* add lrzip support (from Ville Skytta)
41
422011-02-10  16:36  Christos Zoulas <christos@zoulas.com>
43
44	* fix CDF bounds checking (Guy Helmer)
45
462011-02-10  12:03  Christos Zoulas <christos@zoulas.com>
47
48	* add cdf_ctime() that prints a meaningful error when time cannot
49	  be converted.
50
512011-02-02  20:40  Christos Zoulas <christos@zoulas.com>
52
53	* help and version output to stdout.
54
55	* When matching softmagic for ascii files, don't just print
56	  the softmagic classification, keep going and print the
57	  text classification too. This fixes broken troff files when
58	  we moved them from keyword recognition to softmagic
59	  (they stopped printing "with CRLF" etc.)
60	  Reported by Doug McIlroy.
61
622011-01-16  19:31  Reuben Thomas <rrt@sc3d.org>
63
64	* Fix two potential buffer overruns in apprentice_list.
65
662011-01-14  22:33  Reuben Thomas <rrt@sc3d.org>
67
68	* New Python binding in pure Python.
69	* Update libmagic(3).
70
712011-01-06  21:40  Reuben Thomas <rrt@sc3d.org>
72
73	* Fix Python bindings (including recent Python 3 compatibility
74	  update).
75
762011-01-04  18:43  Reuben Thomas <rrt@sc3d.org>
77
78	* magic/Makefile.am: make it easier to recover from magic build failures.
79	* Fix pstring length specifier parsing to avoid generating invalid
80	  magic files.
81	* Add pstring length "J" (for "JPEG") to specify that the length
82	  include itself.
83	* Fix JPEG comment parsing at last using pstring/HJ!
84	* Ignore section 5 man pages in doc/.cvsignore.
85
862010-12-22  13:12  Christos Zoulas <christos@zoulas.com>
87
88	* Add pstring/BHhLl to specify the type of the length of pascal
89	  strings.
90
912010-11-26  18:39  Reuben Thomas <rrt@sc3d.org>
92
93	* Fix "-e soft": it was ignored when softmagic was called
94	  during asciimagic.
95	* Improve comments and use "unsigned char" in tar.h/is_tar.c.
96
972010-11-05  17:26  Reuben Thomas <rrt@sc3d.org>
98
99	* Make bug reporting addresses more visible.
100
1012010-11-01  18:35  Reuben Thomas <rrt@sc3d.org>
102
103	* Add tcl magic from Gustaf Neumann
104
1052010-10-24  10:42  Christos Zoulas <christos@zoulas.com>
106
107	* Fix the whitespace comparing code (Christopher Chittleborough)
108
1092010-10-06  21:05  Christos Zoulas <christos@zoulas.com>
110
111	* allow string/t to work (Jan Kaluza)
112
1132010-09-20  22:11  Reuben Thomas <rrt@sc3d.org>
114
115	* Apply some patches from Ubuntu and Fedora.
116
1172010-09-20  21:16  Reuben Thomas <rrt@sc3d.org>
118
119	* Apply all patches from Debian package 5.04-6 which have not
120	  already been applied and are not Debian-specific.
121
1222010-09-20  15:24  Reuben Thomas <rrt@sc3d.org>
123
124	* Minor security fix to softmagic.c (don't use untrusted
125	  string as printf format).
126
1272010-07-21  12:20  Christos Zoulas <christos@zoulas.com>
128
129	* MINGW32 portability from LRN
130
131	* Don't warn about escaping magic regex chars when we are in a regex.
132
1332010-07-19  10:55  Christos Zoulas <christos@zoulas.com>
134
135	* Only try to print prpsinfo for core files. (Jan Kaluza)
136
1372010-04-22  12:55  Christos Zoulas <christos@zoulas.com>
138
139	* Try more elf offsets for Debian core files.  (Arnaud Giersch)
140
1412010-02-20  15:18  Reuben Thomas <rrt@sc3d.org>
142
143	* Clarify which sort of CDF we mean.
144
1452010-02-14  22:58  Reuben Thomas <rrt@sc3d.org>
146
147	* Re-jig Zip file type magic so that unsupported special
148	  Zip types (those with "mimetype" at offset 30) can be
149	  recognized.
150
1512010-02-02  21:50  Reuben Thomas <rrt@sc3d.org>
152
153	* Add support for OCF (EPUB) files (application/epub+zip)
154
1552010-01-28  18:25  Christos Zoulas <christos@zoulas.com>
156
157	* Fix core-dump from unbound loop:
158	  https://bugzilla.redhat.com/show_bug.cgi?id=533245
159
1602010-01-22  15:45  Christos Zoulas <christos@zoulas.com>
161
162	* print proper mime for crystal reports file
163
164	* print the last summary information of a cdf document, not the
165	  first so that nested documents print the right info
166
1672010-01-16  18:42  Charles Longeau <chl@tuxfamily.org>
168
169	* bring back some fixes from OpenBSD:
170		- make gcc2 builds file
171		- fix typos in a magic file comment
172
1732009-11-17  18:35  Christos Zoulas <christos@zoulas.com>
174
175	* ctime/asctime can return NULL on some OS's although
176	  they should not (Toshit Antani)
177
1782009-09-14  13:49  Christos Zoulas <christos@zoulas.com>
179
180	* Centralize magic path handling routines and remove the
181	  special-casing from file.c so that the python module for
182	  example comes up with the same magic path (Fixes ~/.magic
183	  handling) (from Gab)
184
1852009-09-11  23:38  Reuben Thomas <rrt@sc3d.org>
186
187	* When magic argument is a directory, read the files in
188	  strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
189
1902009-09-11  13:11  Reuben Thomas <rrt@sc3d.org>
191
192	* Combine overlapping epoc and psion magic files into one (epoc).
193
194	* Add some more EPOC MIME types.
195
1962009-08-19  15:55  Christos Zoulas <christos@zoulas.com>
197
198	* Fix 3 bugs (From Ian Darwin):
199	    - file_showstr could move one past the end of the array
200	    - parse_apple did not nul terminate the string in the overflow case
201	    - parse_mime truncated the wrong string in the overflow case
202
2032009-08-12  12:28  Robert Byrnes  <byrnes@wildpumpkin.net>
204
205	* Include Localstuff when compiling magic.
206
2072009-07-15  10:05  Christos Zoulas <christos@zoulas.com>
208
209	* Fix logic for including mygetopts.h
210
211	* Make cdf.c compile again with debugging
212
213	* Add the necessary field handling for crystal reports files to work
214
2152009-06-23 01:34  Reuben Thomas <rrt@sc3d.org>
216
217	* Stop "(if" identifying Lisp files, that's plain dumb!
218
2192009-06-09 22:13  Reuben Thomas <rrt@sc3d.org>
220
221	* Add a couple of missing MP3 MIME types.
222
2232009-05-27 23:00  Reuben Thomas <rrt@sc3d.org>
224
225	* Add full range of hash-bang tests for Python and Ruby.
226
227	* Add MIME types for Python and Ruby scripts.
228
2292009-05-13  10:44  Christos Zoulas <christos@zoulas.com>
230
231	* off by one in parsing hw capabilities in elf
232	  (Cheng Renquan)
233
2342009-05-08  13:40  Christos Zoulas <christos@zoulas.com>
235
236	* lint fixes and more from NetBSD
237
2382009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
239
240	* Avoid null dereference in cdf code (Drew Yao)
241
242	* More cdf bounds checks and overflow checks
243
2442009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
245
246	* Buffer overflow fixes from Drew Yao
247
2482009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
249
250	* Fix more cdf lossage. All the documents I have
251	  right now print the correct information.
252
2532009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
254
255	* don't print \012- separators in the same magic entry
256	  if it consists of multiple magic printing lines.
257
2582009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
259
260	* Avoid file descriptor leak in compress code from
261	  (Daniel Novotny)
262
2632009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
264
265	* Allow escaping of relation characters, so that we can say \^[A-Z]
266	  and the ^ is not eaten as a relation char.
267
268	* Fix troff and fortran to their previous glory using
269	  regex. This was broken since their removel from ascmagic.
270
2712009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
272
273	* don't use strlen in strndup() (Toby Peterson)
274
2752009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
276
277	* avoid c99 syntax.
278
2792009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
280
281	* make the cdf code use the buffer first if available,
282	  and then the fd code.
283
2842009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
285
286	* look for struct option to determine if getopt.h is usable for IRIX.
287
288	* sanitize cdf document strings
289
2902009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
291
292	* fix OS/2 warnings.
293
2942008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
295
296	* fix initial offset calculation for non 4K sector files
297
298	* add loop limits to avoid DoS attacks by constructing
299	  looping sector references.
300
3012008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
302
303	* fix memory botches on cdf file parsing.
304
305	* exit with non-zero value for any error, not just for the last
306	  file processed.
307
3082008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
309
310	* Replace all str{cpy,cat} functions with strl{cpy,cat}
311	* Ensure that strl{cpy,cat} are included in libmagic,
312	  as needed.
313
3142008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
315
316	* Handle ID3 format files.
317
3182008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
319
320	* Fix --mime, --mime-type and --mime-encoding under new scheme.
321
322	* Rename "ascii" to "text" and add "encoding" test.
323
324	* Return a precise ("utf-16le" or "utf-16be") MIME charset for
325	  UTF-16.
326
327	* Fix error in comment caused by automatic indentation adding
328	  words!
329
3302008-11-06 10:35  Christos Zoulas <christos@astron.com>
331
332	* use memchr instead of strchr because the string
333	  might not be NUL terminated (Scott MacVicar)
334
3352008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
336
337	* Fix a printf with a non-literal format string.
338
339	* Fix formatting and punctuation of help for "--apple".
340
3412008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
342
343	* Correct words counts in comments of struct magic.
344
345	* Fix handle_annotation to allow both Apple and MIME types to be
346	  printed, and to return correct code if MIME type is
347	  printed (1, not 0) or if there's an error (-1 not 1).
348
349	* Fix output of charset for MIME type (precede with semi-colon;
350	  fixes Debian bug #501460).
351
352	* Fix potential attacks via conversion specifications in magic
353	  strings.
354
355	* Add a FIXME for Debian bug #488562 (magic files should be
356	  read in a defined order, by sorting the names).
357
3582008-10-18 16:45  Christos Zoulas <christos@astron.com>
359
360	* Added APPLE file creator/type
361
3622008-10-12 10:20  Christos Zoulas <christos@astron.com>
363
364	* Added CDF parsing
365
3662008-10-09 16:40  Christos Zoulas <christos@astron.com>
367
368	* filesystem and msdos patches (Joerg Jenderek)
369
3702008-10-09 13:20  Christos Zoulas <christos@astron.com>
371
372	* correct --exclude documentation issues: remove troff and fortran
373	  and rename "token" to "tokens". (Randy McMurchy)
374
3752008-10-01 10:30  Christos Zoulas <christos@astron.com>
376
377	* Read ~/.magic in addition to the default magic file not instead
378	  of, as documented in the man page.
379
3802008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
381
382	* Comment out graphviz patterns, as they match too many files.
383
3842008-08-30 12:54  Christos Zoulas <christos@astron.com>
385
386	* Don't eat trailing \n in magic enties.
387
388	* Cast defines to allow compilation using a c++ compiler.
389
3902008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
391
392	* Add text/x-lua MIME type for Lua scripts.
393
394	* Escape { in regex in graphviz patterns.
395
3962008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
397
398	* Add MIME types for special files.
399
400	* Use access to give more accurate information for files that
401	  can't be opened.
402
403	* Add a TODO list.
404
4052008-07-02 11:15  Christos Zoulas  <christos@astron.com>
406
407	* add !:strength op to adjust magic strength (experimental)
408
4092008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
410
411	* Fix automake error in configure.ac.
412
413	* Add MIME type for Psion Sketch files.
414
4152008-06-05 08:59  Christos Zoulas  <christos@astron.com>
416
417	* Don't print warnings about bad namesize in stripped
418	  binaries with PT_NOTE is still there, and the actual
419	  note is gone (Jakub Jelinek)
420
4212008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
422
423	* magic/Magdir/elf:
424	  Note invalid byte order for little-endian SPARC32PLUS.
425	  Add SPARC V9 vendor extensions and memory model.
426
427	* src/elfclass.h:
428	  Pass target machine to doshn (for Solaris hardware capabilities).
429
430	* src/readelf.c (doshn):
431	  Add support for Solaris hardware/software capabilities.
432
433	* src/readelf.h:
434	  Ditto.
435
436	* src/vasprintf.c (dispatch):
437	  Add support for ll modifier.
438
4392008-05-16 10:25  Christos Zoulas  <christos@astron.com>
440
441	* Fix compiler warnings.
442
443	* remove stray printf, and fix a vprintf bug. (Martin Dorey)
444
4452008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
446
447	* src/Makefile.am:
448	  Ensure that getopt_long and [v]asprintf are included in libmagic,
449	  as needed.
450
451	  Remove unnecessary EXTRA_DIST.
452
453	* src/Makefile.in:
454	  Rerun automake.
455
456	* src/vasprintf.c (dispatch):
457	  Fix variable precision bug: be sure to step past '*'.
458
459	* src/vasprintf.c (core):
460	  Remove unreachable code.
461
462	* src/apprentice.c (set_test_type):
463	  Add cast to avoid compiler warning.
464
4652008-04-22 23:45  Christos Zoulas  <christos@astron.com>
466
467	* Add magic submission guidelines (Abel Cheung)
468
469	* split msdos and windows magic (Abel Cheung)
470
4712008-04-04 11:00  Christos Zoulas  <christos@astron.com>
472
473	* >= <= is not supported, so fix the magic and warn about it.
474	  reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
475
4762008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
477
478	* src/readelf.c (donote):
479	  ELF core file command name/line bug fixes and enhancements:
480
481	  Try larger offsets first to avoid false matches
482	  from earlier data that happen to look like strings;
483	  this primarily affected SunOS 5.x 32-bit Intel core files.
484
485	  Add support for command line (instead of just short name)
486	  for SunOS 5.x.
487
488	  Add information about NT_PSINFO for SunOS 5.x.
489
490	  Only trim whitespace from end of command line.
491
4922007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
493
494	* Change strength of ! from MULT to 0, as it matches almost
495		  anything (Reuben Thomas)
496
497	* Debian fixes (Reuben Thomas)
498
4992007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
500
501	* Clarify UTF-8 BOM message (Reuben Thomas)
502
503	* Add HTML comment to token list in names.h
504
5052007-02-04 15:50 Christos Zoulas <christos@astron.com>
506
507	* Debian fixes (Reuben Thomas)
508
5092007-02-04 11:31 Christos Zoulas <christos@astron.com>
510
511	* !:mime annotations in magic files (Reuben Thomas)
512
5132007-01-29 15:35 Christos Zoulas <christos@astron.com>
514
515	* zero out utime/utimes structs (Gavin Atkinson)
516
5172007-01-26 13:45 Christos Zoulas <christos@astron.com>
518
519	* reduce writable data from Diego "Flameeyes" Petten
520
5212007-12-28 15:06 Christos Zoulas <christos@astron.com>
522
523	* strtof detection
524
525	* remove bogus regex magic that could cause a DoS
526
527	* better mismatch version message
528
5292007-12-27 11:35 Christos Zoulas <christos@astron.com>
530
531	* bring back some fixes from OpenBSD
532
533	* treat ELF dynamic objects as executables
534
535	* fix gcc warnings
536
5372007-12-01 19:55 Christos Zoulas <christos@astron.com>
538
539	* make sure we have zlib.h and libz to compile the builtin
540	  decompress code
541
5422007-10-28 20:48 Christos Zoulas <christos@astron.com>
543
544 	* float and double magic support (Behan Webster)
545
5462007-10-28 20:48 Christos Zoulas <christos@astron.com>
547
548	* Convert fortran to a soft test (Reuben Thomas)
549
5502007-10-23  5:25 Christos Zoulas <christos@astron.com>
551
552	* Add --with-filename, and --no-filename (Reuben Thomas)
553
5542007-10-23  3:59 Christos Zoulas <christos@astron.com>
555
556	* Rest of the mime split (Reuben Thomas)
557
558	* Make usage message generated from the flags so that
559	  they stay consistent (Reuben Thomas)
560
5612007-10-20  3:06 Christos Zoulas <christos@astron.com>
562
563	* typo in comment, missing ifdef QUICK, remove unneeded code
564		(Charles Longeau)
565
5662007-10-17  3:33 Christos Zoulas <christos@astron.com>
567
568	* Fix problem printing -\012 in some entries
569
570	* Separate magic type and encoding flags (Reuben Thomas)
571
5722007-10-09  3:55 Christos Zoulas <christos@astron.com>
573
574	* configure fix for int64 and strndup (Reuben Thomas)
575
5762007-09-26  4:45 Christos Zoulas <christos@astron.com>
577
578	* Add magic_descriptor() function.
579
580	* Fix regression in elf reading code where the core name was
581	  not being printed.
582
583	* Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
584
5852007-08-19  6:30 Christos Zoulas <christos@astron.com>
586
587	* Make mime format consistent so that it can
588	  be easily parsed:
589	      mimetype [charset=character-set] [encoding=encoding-mime-type]
590
591	  Remove spurious extra text from some MIME type printouts
592	  (mostly in is_tar).
593
594	  Fix one case where -i produced nothing at all (for a 1-byte file,
595	  which is now classed as application/octet-stream).
596
597	  Remove 7/8bit classifications, since they were arbitrary
598	  and not based on the file data.
599
600	  This work was done by Reuben Thomas
601
6022007-05-24 10:00 Christos Zoulas <christos@astron.com>
603
604	* Fix another integer overflow (Colin Percival)
605
6062007-03-26 13:58 Christos Zoulas <christos@astron.com>
607
608	* make sure that all of struct magic_set is initialized appropriately
609	  (Brett)
610
6112007-03-25 17:44 Christos Zoulas <christos@astron.com>
612
613	* reset left bytes in the buffer (Dmitry V. Levin)
614
615	* compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
616	  (Peter Avalos)
617
6182007-03-15 10:51 Christos Zoulas <christos@astron.com>
619
620	* fix fortran and nroff reversed tests (Dmitry V. Levin)
621
622	* fix exclude option (Dmitry V. Levin)
623
6242007-02-08 17:30 Christos Zoulas <christos@astron.com>
625
626	* fix integer underflow in file_printf which can lead to
627	  to exploitable heap overflow (Jean-Sebastien Guay-Lero)
628
6292007-02-05 11:35 Christos Zoulas <christos@astron.com>
630
631	* make socket/pipe reading more robust
632
6332007-01-25 16:01 Christos Zoulas <christos@astron.com>
634
635	* Centralize all the tests in file_buffer.
636
637	* Add exclude flag.
638
6392007-01-18 05:29 Anon Ymous <do@not.spam.me>
640
641	* Move the "type" detection code from parse() into its own table
642	  driven routine.  This avoids maintaining multiple lists in
643	  file.h.
644
645	* Add an optional conditional field (ust before the type field).
646	  This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
647	  likely to go away.
648
6492007-01-16 23:24 Anon Ymous <do@not.spam.me>
650
651	* Fix an initialization bug in check_mem().
652
6532007-01-16 14:58 Anon Ymous <do@not.spam.me>
654
655	* Add a "default" type to print a message if nothing previously
656	  matched at that level or since the last default at that
657	  level.  This is useful for setting up switch-like statements.
658	  It can also be used to do if/else constructions without a
659	  redundant second test.
660
661	* Fix the "x" special case test so that one can test for that
662	  string with "=x".
663
664	* Allow "search" to search the entire buffer if the "/N"
665	  search count is missing.
666
667	* Make "regex" work!  It now starts its search at the
668	  specified offset and takes an (optional) "/N" line count to
669	  specify the search range; otherwise it searches to the end
670	  of the file.  The match is now grabbed correctly for format
671	  strings and the offset set to the end of the match.
672
673	* Add a "/s" flag to "regex" and "search" to set the offset to
674	  the start of the match.  By default the offset is set to the
675	  end of the match, as it is with other tests.  This is mostly
676	  useful for "regex".
677
678	* Make "search", "string" and "pstring" use the same
679	  file_strncmp() routine so that they support the same flags;
680	  "bestring16" and "lestring16" call the same routine, but
681	  with flags = 0.  Also add a "/C" flag (in analogy to "/c")
682	  to ignore the case on uppercase (lowercase) characters in
683	  the test string.
684
685	* Strict adherence to C style string escapes.  A warnings are
686	  printed when compiling.  Note: previously "\a" was
687	  incorrectly translated to 'a' instead of an <alert> (i.e.,
688	  BELL, typically 0x07).
689
690	* Make this compile with "-Wall -Wextra" and all the warning
691	  flags used with WARNS=4 in the NetBSD source.  Also make it
692	  pass lint.
693
694	* Many "cleanups" and hopefully not too many new bugs!
695
6962007-01-16 14:56 Anon Ymous <do@not.spam.me>
697
698	* make several more files compile with gcc warnings
699	  on and also make them pass lint.
700
7012007-01-16 14:54 Anon Ymous <do@not.spam.me>
702
703	* fix a puts()/putc() usage goof in file.c
704
705	* make file.c compile with gcc warnings and pass lint
706
7072006-12-11 16:49 Christos Zoulas <christos@astron.com>
708
709	* fix byteswapping issue
710
711	* report the number of bytes we tried to
712	  allocate when allocation fails
713
714	* add a few missed cases in the strength routine
715
7162006-12-08 16:32 Christos Zoulas <christos@astron.com>
717
718	* store and print the line number of the magic
719	  entry for debugging.
720
721	* if the magic entry did not print anything,
722	  don't treat it as a match
723
724	* change the magic strength algorithm to take
725	  into account the relationship op.
726
727	* fix a bug in search where we could accidentally
728	  return a match.
729
730	* propagate the error return from match to
731	  file_softmagic.
732
7332006-11-25 13:35 Christos Zoulas <christos@astron.com>
734
735	* Don't store the current offset in the magic
736	  struct, because it needs to be restored and
737	  it was not done properly all the time. Bug
738	  found by: Arkadiusz Miskiewicz
739
740	* Fix problem in the '\0' separator; and don't
741	  print it as an additional separator; print
742	  it as the only separator.
743
7442006-11-17 10:51 Christos Zoulas <christos@astron.com>
745
746	* Added a -0 option to print a '\0' separator
747	  Etienne Buira <etienne.buira@free.fr>
748
7492006-10-31 15:14 Christos Zoulas <christos@astron.com>
750
751	* Check offset before copying (Mike Frysinger)
752
753	* merge duplicated code
754
755	* add quad date support
756
757	* make sure that we nul terminate desc (Ryoji Kanai)
758
759	* don't process elf notes multiple times
760
761	* allow -z to report empty compressed files
762
763	* use calloc to initialize the ascii buffers (Jos van den Oever)
764
7652006-06-08 11:11 Christos Zoulas <christos@astron.com>
766
767	* QNX fixes (Mike Gorchak)
768
769	* Add quad support.
770
771	* FIFO checks (Dr. Werner Fink)
772
773	* Linux ELF fixes (Dr. Werner Fink)
774
775	* Magic format checks (Dr. Werner Fink)
776
777	* Magic format function improvent (Karl Chen)
778
7792006-05-03 11:11 Christos Zoulas <christos@astron.com>
780
781	* Pick up some elf changes and some constant fixes from SUSE
782
783	* Identify gnu tar vs. posix tar
784
785	* When keep going, don't print spurious newlines (Radek Vok�l)
786
7872006-04-01 12:02 Christos Zoulas <christos@astron.com>
788
789	* Use calloc instead of malloc (Mike Frysinger)
790
791	* Fix configure script to detect wctypes.h (Mike Frysinger)
792
7932006-03-02 16:06 Christos Zoulas <christos@astron.com>
794
795	* Print empty if the file is (Mike Frysinger)
796
797	* Don't try to read past the end of the buffer (Mike Frysinger)
798
799	* Sort magic entries by strength [experimental]
800
8012005-11-29 13:26 Christos Zoulas <christos@astron.com>
802
803	* Use iswprint() to convert the output string.
804	    (Bastien Nocera)
805
8062005-10-31 8:54 Christos Zoulas <christos@astron.com>
807
808	* Fix regression where the core info was not completely processed
809	    (Radek Vok�l)
810
8112005-10-20 11:15 Christos Zoulas <christos@astron.com>
812
813	* Middle Endian magic (Diomidis Spinellis)
814
8152005-10-17 11:15 Christos Zoulas <christos@astron.com>
816
817	* Open with O_BINARY for CYGWIN (Corinna Vinschen)
818
819	* Don't close stdin (Arkadiusz Miskiewicz)
820
821	* Look for note sections in non executables.
822
8232005-09-20 13:33 Christos Zoulas <christos@astron.com>
824
825	* Don't print SVR4 Style in core files multiple times
826	    (Radek Vok�l)
827
8282005-08-27 04:09 Christos Zoulas <christos@astron.com>
829
830	* Cygwin changes Corinna Vinschen
831
8322005-08-18 09:53 Christos Zoulas <christos@astron.com>
833
834	* Remove erroreous mention of /etc/magic in the file man page
835	  This is gentoo bug 101639. (Mike Frysinger)
836
837	* Cross-compile support and detection (Mike Frysinger)
838
8392005-08-12 10:17 Christos Zoulas <christos@astron.com>
840
841	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
842	  is set.
843
8442005-07-29 13:57 Christos Zoulas <christos@astron.com>
845
846	* Avoid search and regex buffer overflows (Kelledin)
847
8482005-07-12 11:48 Christos Zoulas <christos@astron.com>
849
850	* Provide stub implementations for {v,}nsprintf() for older
851	  OS's that don't have them.
852	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
853	  to AC_TYPE_MBSTATE_T.
854
8552005-06-25 11:48 Christos Zoulas <christos@astron.com>
856
857	* Dynamically allocate the string buffers and make the
858	  default read size 256K.
859
8602005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
861
862	* Dragonfly ELF note support
863
8642005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
865
866	* Avoid NULL pointer dereference in time conversion.
867
8682005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
869
870	* Add indirect magic offset support, and search mode.
871
8722005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
873
874	* src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
875	  If a CRLF text file happens to have CR at offset HOWMANY - 1
876	  (currently 0xffff), it should not be counted as CR line
877	  terminator.
878	  If a line has length exactly MAXLINELEN, it should not yet be
879	  treated as a ``very long line'', as MAXLINELEN is ``longest sane
880	  line length''.
881	  With CRLF, the line length was not computed correctly, and even
882	  lines of length MAXLINELEN - 1 were treated as ``very long''.
883
8842004-12-07 14:15  Christos Zoulas  <christos@astron.com>
885
886	* bzip2 needs a lot of input buffer space on some files
887	  before it can begin uncompressing. This makes file -z
888	  fail on some bz2 files. Fix it by giving it a copy of
889	  the file descriptor to read as much as it wants if we
890	  have access to it. <christos@astron.com>
891
8922004-11-24 12:39  Christos Zoulas  <christos@astron.com>
893
894	* Stack smash fix, and ELF more conservative reading.
895	  Jakub Bogusz <qboosh@pld-linux.org>
896
8972004-11-20 18:50  Christos Zoulas  <christos@astron.com>
898
899	* New FreeBSD version parsing code:
900	  Jon Noack <noackjr@alumni.rice.edu>
901
902	* Hackish support for ucs16 strings <christos@astron.com>
903
9042004-11-13 03:07  Christos Zoulas  <christos@astron.com>
905
906	* print the file name and line number in syntax errors.
907
9082004 10-12 10:50  Christos Zoulas  <christos@astron.com>
909
910	* Fix stack overwriting on 0 length strings: Tim Waugh
911	    <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
912
9132004-09-27 11:30  Christos Zoulas  <christos@astron.com>
914
915	* Remove 3rd and 4th copyright clause; approved by Ian Darwin.
916
917	* Fix small memory leaks; caught by: Tamas Sarlos
918	    <stamas@csillag.ilab.sztaki.hu>
919
9202004-07-24 16:33  Christos Zoulas  <christos@astron.com>
921
922	* magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
923
924	* FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
925
926	* utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
927
928  	* errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
929
9302004-04-12 10:55  Christos Zoulas  <christos@astron.com>
931
932	* make sure that magic formats match magic types during compilation
933
934	* fix broken sgi magic file
935
9362004-04-06 20:36  Christos Zoulas  <christos@astron.com>
937
938	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
939
940	* magic fixes
941
9422004-03-22 15:25  Christos Zoulas  <christos@astron.com>
943
944	* Lots of mime fixes
945	  (Joerg Ostertag) <ostertag@rechengilde.de>
946
947	* FreeBSD ELF version handling
948	  (Edwin Groothuis) <edwin@mavetju.org>
949
950	* correct cleanup in all cases; don't just close the file.
951	  (Christos Zoulas) <christos@astron.com>
952
953	* add gettext message catalogue support
954	  (Michael Piefel) <piefel@debian.org>
955
956	* better printout for unreadable files
957	  (Michael Piefel) <piefel@debian.org>
958
959	* compensate for missing MAXPATHLEN
960	  (Michael Piefel) <piefel@debian.org>
961
962	* add wide character string length computation
963	  (Michael Piefel) <piefel@debian.org>
964
965	* Avoid infinite loops caused by bad elf alignments
966	  or name and description note sizes. Reported by
967	  (Mikael Magnusson) <mmikael@comhem.se>
968
9692004-03-09 13:55  Christos Zoulas  <christos@astron.com>
970
971	* Fix possible memory leak on error and add missing regfree
972	  (Dmitry V. Levin) <ldv@altlinux.org>
973
9742003-12-23 12:12  Christos Zoulas  <christos@astron.com>
975
976	* fix -k flag (Maciej W. Rozycki)
977
9782003-11-18 14:10  Christos Zoulas  <christos@astron.com>
979
980	* Try to give us much info as possible on corrupt elf files.
981	  (Willy Tarreau) <willy@w.ods.org>
982	* Updated python bindings (Brett Funderburg)
983	   <brettf@deepfile.com>
984
9852003-11-11 15:03  Christos Zoulas  <christos@astron.com>
986
987	* Include file.h first, because it includes config.h
988	  breaks largefile test macros otherwise.
989	  (Paul Eggert <eggert@CS.UCLA.EDU> via
990	   Lars Hecking <lhecking@nmrc.ie>)
991
9922003-10-14 21:39  Christos Zoulas  <christos@astron.com>
993
994	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
995	* Don't lookup past the end of the buffer
996	  (Chad Hanson) <chanson@tcs-sec.com>
997	* Add MAGIC_ERROR and api on magic_errno()
998
9992003-10-08 12:40  Christos Zoulas  <christos@astron.com>
1000
1001	* handle error conditions from compile as fatal
1002	  (Antti Kantee) <pooka@netbsd.org>
1003	* handle magic filename parsing sanely
1004	* more magic fixes.
1005	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
1006	* describe magic file handling
1007	  (Bryan Henderson) <bryanh@giraffe-data.com>
1008
10092003-09-12 15:09  Christos Zoulas  <christos@astron.com>
1010
1011	* update magic files.
1012	* remove largefile support from file.h; it breaks things on most OS's
1013
10142003-08-10 10:25  Christos Zoulas  <christos@astron.com>
1015
1016	* fix unmapping'ing of mmaped files.
1017
10182003-07-10 12:03  Christos Zoulas  <christos@astron.com>
1019
1020	* don't exit with -1 on error; always exit 1 (Marty Leisner)
1021	* restore utimes code.
1022
10232003-06-10 17:03  Christos Zoulas  <christos@astron.com>
1024
1025	* make sure we don't access uninitialized memory.
1026	* pass lint
1027	* #ifdef __cplusplus in magic.h
1028
10292003-05-25 19:23  Christos Zoulas  <christos@astron.com>
1030
1031	* rename cvs magic file to revision to deal with
1032	  case insensitive filesystems.
1033
10342003-05-23 17:03  Christos Zoulas  <christos@astron.com>
1035
1036	* documentation fixes from Michael Piefel <piefel@debian.org>
1037	* magic fixes (various)
1038	* revert basename magic in .mgc name determination
1039	* buffer protection in uncompress,
1040	  signness issues,
1041	  close files
1042	  Maciej W. Rozycki <macro@ds2.pg.gda.pl
1043
10442003-04-21 20:12  Christos Zoulas  <christos@astron.com>
1045
1046	* fix zsh magic
1047
10482003-04-04 16:59  Christos Zoulas  <christos@astron.com>
1049
1050	* fix operand sort order in string.
1051
10522003-04-02 17:30  Christos Zoulas  <christos@astron.com>
1053
1054	* cleanup namespace in magic.h
1055
10562003-04-02 13:50  Christos Zoulas  <christos@astron.com>
1057
1058	* Magic additions (Alex Ott)
1059	* Fix bug that broke VPATH compilation (Peter Breitenlohner)
1060
10612003-03-28 16:03  Christos Zoulas  <christos@astron.com>
1062
1063	* remove packed attribute from magic struct.
1064	* make the magic struct properly aligned.
1065	* bump version number of compiled files to 2.
1066
10672003-03-27 13:10  Christos Zoulas  <christos@astron.com>
1068
1069	* separate tar detection and run it before softmagic.
1070	* fix reversed symlink test.
1071	* fix version printing.
1072	* make separator a string instead of a char.
1073	* update manual page and sort options.
1074
10752003-03-26 11:00  Christos Zoulas  <christos@astron.com>
1076
1077	* Pass lint
1078	* make NULL in magic_file mean stdin
1079	* Fix "-" argument to file to pass NULL to magic_file
1080	* avoid pointer casts by using memcpy
1081	* rename magic_buf -> magic_buffer
1082	* keep only the first error
1083	* manual page: new sentence, new line
1084	* fix typo in api function (magic_buf -> magic_buffer)
1085