ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. 2006-12-11 16:49 Christos Zoulas <christos@zoulas.com>
  2. * fix byteswapping issue
  3. * report the number of bytes we tried to
  4. allocate when allocation fails
  5. * add a few missed cases in the strength routine
  6. 2006-12-08 16:32 Christos Zoulas <christos@zoulas.com>
  7. * store and print the line number of the magic
  8. entry for debugging.
  9. * if the magic entry did not print anything,
  10. don't treat it as a match
  11. * change the magic strength algorithm to take
  12. into account the relationship op.
  13. * fix a bug in search where we could accidentally
  14. return a match.
  15. * propagate the error return from match to
  16. file_softmagic.
  17. 2006-11-25 13:35 Christos Zoulas <christos@zoulas.com>
  18. * Don't store the current offset in the magic
  19. struct, because it needs to be restored and
  20. it was not done properly all the time. Bug
  21. found by: Arkadiusz Miskiewicz
  22. * Fix problem in the '\0' separator; and don't
  23. print it as an additional separator; print
  24. it as the only separator.
  25. 2006-11-17 10:51 Christos Zoulas <christos@zoulas.com>
  26. * Added a -0 option to print a '\0' separator
  27. Etienne Buira <etienne.buira@free.fr>
  28. 2006-10-31 15:14 Christos Zoulas <christos@zoulas.com>
  29. * Check offset before copying (Mike Frysinger)
  30. * merge duplicated code
  31. * add quad date support
  32. * make sure that we nul terminate desc (Ryoji Kanai)
  33. * don't process elf notes multiple times
  34. * allow -z to report empty compressed files
  35. * use calloc to initialize the ascii buffers (Jos van den Oever)
  36. 2006-06-08 11:11 Christos Zoulas <christos@zoulas.com>
  37. * QNX fixes (Mike Gorchak)
  38. * Add quad support.
  39. * FIFO checks (Dr. Werner Fink)
  40. * Linux ELF fixes (Dr. Werner Fink)
  41. * Magic format checks (Dr. Werner Fink)
  42. * Magic format function improvent (Karl Chen)
  43. 2006-05-03 11:11 Christos Zoulas <christos@zoulas.com>
  44. * Pick up some elf changes and some constant fixes from SUSE
  45. * Identify gnu tar vs. posix tar
  46. * When keep going, don't print spurious newlines (Radek Vokál)
  47. 2006-04-01 12:02 Christos Zoulas <christos@zoulas.com>
  48. * Use calloc instead of malloc (Mike Frysinger)
  49. * Fix configure script to detect wctypes.h (Mike Frysinger)
  50. 2006-03-02 16:06 Christos Zoulas <christos@zoulas.com>
  51. * Print empty if the file is (Mike Frysinger)
  52. * Don't try to read past the end of the buffer (Mike Frysinger)
  53. * Sort magic entries by strength [experimental]
  54. 2005-11-29 13:26 Christos Zoulas <christos@zoulas.com>
  55. * Use iswprint() to convert the output string.
  56. (Bastien Nocera)
  57. 2005-10-31 8:54 Christos Zoulas <christos@zoulas.com>
  58. * Fix regression where the core info was not completely processed
  59. (Radek Vokál)
  60. 2005-10-20 11:15 Christos Zoulas <christos@zoulas.com>
  61. * Middle Endian magic (Diomidis Spinellis)
  62. 2005-10-17 11:15 Christos Zoulas <christos@zoulas.com>
  63. * Open with O_BINARY for CYGWIN (Corinna Vinschen)
  64. * Don't close stdin (Arkadiusz Miskiewicz)
  65. * Look for note sections in non executables.
  66. 2005-09-20 13:33 Christos Zoulas <christos@zoulas.com>
  67. * Don't print SVR4 Style in core files multiple times
  68. (Radek Vokál)
  69. 2005-08-27 04:09 Christos Zoulas <christos@zoulas.com>
  70. * Cygwin changes Corinna Vinschen
  71. 2005-08-18 09:53 Christos Zoulas <christos@zoulas.com>
  72. * Remove erroreous mention of /etc/magic in the file man page
  73. This is gentoo bug 101639. (Mike Frysinger)
  74. * Cross-compile support and detection (Mike Frysinger)
  75. 2005-08-12 10:17 Christos Zoulas <christos@zoulas.com>
  76. * Add -h flag and dereference symlinks if POSIXLY_CORRECT
  77. is set.
  78. 2005-07-29 13:57 Christos Zoulas <christos@zoulas.com>
  79. * Avoid search and regex buffer overflows (Kelledin)
  80. 2005-07-12 11:48 Christos Zoulas <christos@zoulas.com>
  81. * Provide stub implementations for {v,}nsprintf() for older
  82. OS's that don't have them.
  83. * Change mbstate_t autoconf detection macro from AC_MBSTATE_T
  84. to AC_TYPE_MBSTATE_T.
  85. 2005-06-25 11:48 Christos Zoulas <christos@zoulas.com>
  86. * Dynamically allocate the string buffers and make the
  87. default read size 256K.
  88. 2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
  89. * Dragonfly ELF note support
  90. 2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
  91. * Avoid NULL pointer dereference in time conversion.
  92. 2005-03-06 00:00 Joerg Walter <jwalt@mail.garni.ch>
  93. * Add indirect magic offset support, and search mode.
  94. 2005-01-12 00:00 Stepan Kasal <kasal@ucw.cz>
  95. * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
  96. If a CRLF text file happens to have CR at offset HOWMANY - 1
  97. (currently 0xffff), it should not be counted as CR line
  98. terminator.
  99. If a line has length exactly MAXLINELEN, it should not yet be
  100. treated as a ``very long line'', as MAXLINELEN is ``longest sane
  101. line length''.
  102. With CRLF, the line length was not computed correctly, and even
  103. lines of length MAXLINELEN - 1 were treated as ``very long''.
  104. 2004-12-07 14:15 Christos Zoulas <christos@zoulas.com>
  105. * bzip2 needs a lot of input buffer space on some files
  106. before it can begin uncompressing. This makes file -z
  107. fail on some bz2 files. Fix it by giving it a copy of
  108. the file descriptor to read as much as it wants if we
  109. have access to it. <christos@zoulas.com>
  110. 2004-11-24 12:39 Christos Zoulas <christos@zoulas.com>
  111. * Stack smash fix, and ELF more conservative reading.
  112. Jakub Bogusz <qboosh@pld-linux.org>
  113. 2004-11-20 18:50 Christos Zoulas <christos@zoulas.com>
  114. * New FreeBSD version parsing code:
  115. Jon Noack <noackjr@alumni.rice.edu>
  116. * Hackish support for ucs16 strings <christos@zoulas.com>
  117. 2004-11-13 03:07 Christos Zoulas <christos@zoulas.com>
  118. * print the file name and line number in syntax errors.
  119. 2004 10-12 10:50 Christos Zoulas <christos@zoulas.com>
  120. * Fix stack overwriting on 0 length strings: Tim Waugh
  121. <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
  122. 2004-09-27 11:30 Christos Zoulas <christos@zoulas.com>
  123. * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
  124. * Fix small memory leaks; caught by: Tamas Sarlos
  125. <stamas@csillag.ilab.sztaki.hu>
  126. 2004-07-24 16:33 Christos Zoulas <christos@zoulas.com>
  127. * magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
  128. * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
  129. * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
  130. * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
  131. 2004-04-12 10:55 Christos Zoulas <christos@zoulas.com>
  132. * make sure that magic formats match magic types during compilation
  133. * fix broken sgi magic file
  134. 2004-04-06 20:36 Christos Zoulas <christos@zoulas.com>
  135. * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
  136. * magic fixes
  137. 2004-03-22 15:25 Christos Zoulas <christos@zoulas.com>
  138. * Lots of mime fixes
  139. (Joerg Ostertag) <ostertag@rechengilde.de>
  140. * FreeBSD ELF version handling
  141. (Edwin Groothuis) <edwin@mavetju.org>
  142. * correct cleanup in all cases; don't just close the file.
  143. (Christos Zoulas) <christos@zoulas.com>
  144. * add gettext message catalogue support
  145. (Michael Piefel) <piefel@debian.org>
  146. * better printout for unreadable files
  147. (Michael Piefel) <piefel@debian.org>
  148. * compensate for missing MAXPATHLEN
  149. (Michael Piefel) <piefel@debian.org>
  150. * add wide character string length computation
  151. (Michael Piefel) <piefel@debian.org>
  152. * Avoid infinite loops caused by bad elf alignments
  153. or name and description note sizes. Reported by
  154. (Mikael Magnusson) <mmikael@comhem.se>
  155. 2004-03-09 13:55 Christos Zoulas <christos@zoulas.com>
  156. * Fix possible memory leak on error and add missing regfree
  157. (Dmitry V. Levin) <ldv@altlinux.org>
  158. 2003-12-23 12:12 Christos Zoulas <christos@zoulas.com>
  159. * fix -k flag (Maciej W. Rozycki)
  160. 2003-11-18 14:10 Christos Zoulas <christos@zoulas.com>
  161. * Try to give us much info as possible on corrupt elf files.
  162. (Willy Tarreau) <willy@w.ods.org>
  163. * Updated python bindings (Brett Funderburg)
  164. <brettf@deepfile.com>
  165. 2003-11-11 15:03 Christos Zoulas <christos@zoulas.com>
  166. * Include file.h first, because it includes config.h
  167. breaks largefile test macros otherwise.
  168. (Paul Eggert <eggert@CS.UCLA.EDU> via
  169. Lars Hecking <lhecking@nmrc.ie>)
  170. 2003-10-14 21:39 Christos Zoulas <christos@zoulas.com>
  171. * Python bindings (Brett Funderburg) <brettf@deepfile.com>
  172. * Don't lookup past the end of the buffer
  173. (Chad Hanson) <chanson@tcs-sec.com>
  174. * Add MAGIC_ERROR and api on magic_errno()
  175. 2003-10-08 12:40 Christos Zoulas <christos@zoulas.com>
  176. * handle error conditions from compile as fatal
  177. (Antti Kantee) <pooka@netbsd.org>
  178. * handle magic filename parsing sanely
  179. * more magic fixes.
  180. * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
  181. * describe magic file handling
  182. (Bryan Henderson) <bryanh@giraffe-data.com>
  183. 2003-09-12 15:09 Christos Zoulas <christos@zoulas.com>
  184. * update magic files.
  185. * remove largefile support from file.h; it breaks things on most OS's
  186. 2003-08-10 10:25 Christos Zoulas <christos@zoulas.com>
  187. * fix unmapping'ing of mmaped files.
  188. 2003-07-10 12:03 Christos Zoulas <christos@zoulas.com>
  189. * don't exit with -1 on error; always exit 1 (Marty Leisner)
  190. * restore utimes code.
  191. 2003-06-10 17:03 Christos Zoulas <christos@zoulas.com>
  192. * make sure we don't access uninitialized memory.
  193. * pass lint
  194. * #ifdef __cplusplus in magic.h
  195. 2003-05-25 19:23 Christos Zoulas <christos@zoulas.com>
  196. * rename cvs magic file to revision to deal with
  197. case insensitive filesystems.
  198. 2003-05-23 17:03 Christos Zoulas <christos@zoulas.com>
  199. * documentation fixes from Michael Piefel <piefel@debian.org>
  200. * magic fixes (various)
  201. * revert basename magic in .mgc name determination
  202. * buffer protection in uncompress,
  203. signness issues,
  204. close files
  205. Maciej W. Rozycki <macro@ds2.pg.gda.pl
  206. 2003-04-21 20:12 Christos Zoulas <christos@zoulas.com>
  207. * fix zsh magic
  208. 2003-04-04 16:59 Christos Zoulas <christos@zoulas.com>
  209. * fix operand sort order in string.
  210. 2003-04-02 17:30 Christos Zoulas <christos@zoulas.com>
  211. * cleanup namespace in magic.h
  212. 2003-04-02 13:50 Christos Zoulas <christos@zoulas.com>
  213. * Magic additions (Alex Ott)
  214. * Fix bug that broke VPATH compilation (Peter Breitenlohner)
  215. 2003-03-28 16:03 Christos Zoulas <christos@zoulas.com>
  216. * remove packed attribute from magic struct.
  217. * make the magic struct properly aligned.
  218. * bump version number of compiled files to 2.
  219. 2003-03-27 13:10 Christos Zoulas <christos@zoulas.com>
  220. * separate tar detection and run it before softmagic.
  221. * fix reversed symlink test.
  222. * fix version printing.
  223. * make separator a string instead of a char.
  224. * update manual page and sort options.
  225. 2003-03-26 11:00 Christos Zoulas <christos@zoulas.com>
  226. * Pass lint
  227. * make NULL in magic_file mean stdin
  228. * Fix "-" argument to file to pass NULL to magic_file
  229. * avoid pointer casts by using memcpy
  230. * rename magic_buf -> magic_buffer
  231. * keep only the first error
  232. * manual page: new sentence, new line
  233. * fix typo in api function (magic_buf -> magic_buffer)