ChangeLog 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925
  1. 2010-01-22 15:45 Christos Zoulas <christos@zoulas.com>
  2. * print proper mime for crystal reports file
  3. * print the last summary information of a cdf document, not the
  4. first so that nested documents print the right info
  5. 2010-01-16 18:42 Charles Longeau <chl@tuxfamily.org>
  6. * bring back some fixes from OpenBSD:
  7. - make gcc2 builds file
  8. - fix typos in a magic file comment
  9. 2009-11-17 18:35 Christos Zoulas <christos@zoulas.com>
  10. * ctime/asctime can return NULL on some OS's although
  11. they should not (Toshit Antani)
  12. 2009-09-14 13:49 Christos Zoulas <christos@zoulas.com>
  13. * Centralize magic path handling routines and remove the
  14. special-casing from file.c so that the python module for
  15. example comes up with the same magic path (Fixes ~/.magic
  16. handling) (from Gab)
  17. 2009-09-11 23:38 Reuben Thomas <rrt@sc3d.org>
  18. * When magic argument is a directory, read the files in
  19. strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
  20. 2009-09-11 13:11 Reuben Thomas <rrt@sc3d.org>
  21. * Combine overlapping epoc and psion magic files into one (epoc).
  22. * Add some more EPOC MIME types.
  23. 2009-08-19 15:55 Christos Zoulas <christos@zoulas.com>
  24. * Fix 3 bugs (From Ian Darwin):
  25. - file_showstr could move one past the end of the array
  26. - parse_apple did not nul terminate the string in the overflow case
  27. - parse_mime truncated the wrong string in the overflow case
  28. 2009-08-12 12:28 Robert Byrnes <byrnes@wildpumpkin.net>
  29. * Include Localstuff when compiling magic.
  30. 2009-07-15 10:05 Christos Zoulas <christos@zoulas.com>
  31. * Fix logic for including mygetopts.h
  32. * Make cdf.c compile again with debugging
  33. * Add the necessary field handling for crystal reports files to work
  34. 2009-06-23 01:34 Reuben Thomas <rrt@sc3d.org>
  35. * Stop "(if" identifying Lisp files, that's plain dumb!
  36. 2009-06-09 22:13 Reuben Thomas <rrt@sc3d.org>
  37. * Add a couple of missing MP3 MIME types.
  38. 2009-05-27 23:00 Reuben Thomas <rrt@sc3d.org>
  39. * Add full range of hash-bang tests for Python and Ruby.
  40. * Add MIME types for Python and Ruby scripts.
  41. 2009-05-13 10:44 Christos Zoulas <christos@zoulas.com>
  42. * off by one in parsing hw capabilities in elf
  43. (Cheng Renquan)
  44. 2009-05-08 13:40 Christos Zoulas <christos@zoulas.com>
  45. * lint fixes and more from NetBSD
  46. 2009-05-06 10:25 Christos Zoulas <christos@zoulas.com>
  47. * Avoid null dereference in cdf code (Drew Yao)
  48. * More cdf bounds checks and overflow checks
  49. 2009-05-01 18:37 Christos Zoulas <christos@zoulas.com>
  50. * Buffer overflow fixes from Drew Yao
  51. 2009-04-30 17:10 Christos Zoulas <christos@zoulas.com>
  52. * Fix more cdf lossage. All the documents I have
  53. right now print the correct information.
  54. 2009-03-27 18:43 Christos Zoulas <christos@zoulas.com>
  55. * don't print \012- separators in the same magic entry
  56. if it consists of multiple magic printing lines.
  57. 2009-03-23 10:20 Christos Zoulas <christos@zoulas.com>
  58. * Avoid file descriptor leak in compress code from
  59. (Daniel Novotny)
  60. 2009-03-18 16:50 Christos Zoulas <christos@zoulas.com>
  61. * Allow escaping of relation characters, so that we can say \^[A-Z]
  62. and the ^ is not eaten as a relation char.
  63. * Fix troff and fortran to their previous glory using
  64. regex. This was broken since their removel from ascmagic.
  65. 2009-03-10 16:50 Christos Zoulas <christos@zoulas.com>
  66. * don't use strlen in strndup() (Toby Peterson)
  67. 2009-03-10 7:45 Christos Zoulas <christos@zoulas.com>
  68. * avoid c99 syntax.
  69. 2009-02-23 15:45 Christos Zoulas <christos@zoulas.com>
  70. * make the cdf code use the buffer first if available,
  71. and then the fd code.
  72. 2009-02-13 13:45 Christos Zoulas <christos@zoulas.com>
  73. * look for struct option to determine if getopt.h is usable for IRIX.
  74. * sanitize cdf document strings
  75. 2009-02-04 13:25 Christos Zoulas <christos@zoulas.com>
  76. * fix OS/2 warnings.
  77. 2008-12-12 15:50 Christos Zoulas <christos@zoulas.com>
  78. * fix initial offset calculation for non 4K sector files
  79. * add loop limits to avoid DoS attacks by constructing
  80. looping sector references.
  81. 2008-12-03 13:05 Christos Zoulas <christos@zoulas.com>
  82. * fix memory botches on cdf file parsing.
  83. * exit with non-zero value for any error, not just for the last
  84. file processed.
  85. 2008-11-09 20:42 Charles Longeau <chl@tuxfamily.org>
  86. * Replace all str{cpy,cat} functions with strl{cpy,cat}
  87. * Ensure that strl{cpy,cat} are included in libmagic,
  88. as needed.
  89. 2008-11-06 18:18 Christos Zoulas <christos@zoulas.com>
  90. * Handle ID3 format files.
  91. 2008-11-06 23:00 Reuben Thomas <rrt@sc3d.org>
  92. * Fix --mime, --mime-type and --mime-encoding under new scheme.
  93. * Rename "ascii" to "text" and add "encoding" test.
  94. * Return a precise ("utf-16le" or "utf-16be") MIME charset for
  95. UTF-16.
  96. * Fix error in comment caused by automatic indentation adding
  97. words!
  98. 2008-11-06 10:35 Christos Zoulas <christos@astron.com>
  99. * use memchr instead of strchr because the string
  100. might not be NUL terminated (Scott MacVicar)
  101. 2008-11-03 07:31 Reuben Thomas <rrt@sc3d.org>
  102. * Fix a printf with a non-literal format string.
  103. * Fix formatting and punctuation of help for "--apple".
  104. 2008-10-30 11:00 Reuben Thomas <rrt@sc3d.org>
  105. * Correct words counts in comments of struct magic.
  106. * Fix handle_annotation to allow both Apple and MIME types to be
  107. printed, and to return correct code if MIME type is
  108. printed (1, not 0) or if there's an error (-1 not 1).
  109. * Fix output of charset for MIME type (precede with semi-colon;
  110. fixes Debian bug #501460).
  111. * Fix potential attacks via conversion specifications in magic
  112. strings.
  113. * Add a FIXME for Debian bug #488562 (magic files should be
  114. read in a defined order, by sorting the names).
  115. 2008-10-18 16:45 Christos Zoulas <christos@astron.com>
  116. * Added APPLE file creator/type
  117. 2008-10-12 10:20 Christos Zoulas <christos@astron.com>
  118. * Added CDF parsing
  119. 2008-10-09 16:40 Christos Zoulas <christos@astron.com>
  120. * filesystem and msdos patches (Joerg Jenderek)
  121. 2008-10-09 13:20 Christos Zoulas <christos@astron.com>
  122. * correct --exclude documentation issues: remove troff and fortran
  123. and rename "token" to "tokens". (Randy McMurchy)
  124. 2008-10-01 10:30 Christos Zoulas <christos@astron.com>
  125. * Read ~/.magic in addition to the default magic file not instead
  126. of, as documented in the man page.
  127. 2008-09-10 21:30 Reuben Thomas <rrt@sc3d.org>
  128. * Comment out graphviz patterns, as they match too many files.
  129. 2008-08-30 12:54 Christos Zoulas <christos@astron.com>
  130. * Don't eat trailing \n in magic enties.
  131. * Cast defines to allow compilation using a c++ compiler.
  132. 2008-08-25 23:56 Reuben Thomas <rrt@sc3d.org>
  133. * Add text/x-lua MIME type for Lua scripts.
  134. * Escape { in regex in graphviz patterns.
  135. 2008-07-26 00:59 Reuben Thomas <rrt@sc3d.org>
  136. * Add MIME types for special files.
  137. * Use access to give more accurate information for files that
  138. can't be opened.
  139. * Add a TODO list.
  140. 2008-07-02 11:15 Christos Zoulas <christos@astron.com>
  141. * add !:strength op to adjust magic strength (experimental)
  142. 2008-06-16 21:41 Reuben Thomas <rrt@sc3d.org>
  143. * Fix automake error in configure.ac.
  144. * Add MIME type for Psion Sketch files.
  145. 2008-06-05 08:59 Christos Zoulas <christos@astron.com>
  146. * Don't print warnings about bad namesize in stripped
  147. binaries with PT_NOTE is still there, and the actual
  148. note is gone (Jakub Jelinek)
  149. 2008-05-28 15:12 Robert Byrnes <byrnes@wildpumpkin.net>
  150. * magic/Magdir/elf:
  151. Note invalid byte order for little-endian SPARC32PLUS.
  152. Add SPARC V9 vendor extensions and memory model.
  153. * src/elfclass.h:
  154. Pass target machine to doshn (for Solaris hardware capabilities).
  155. * src/readelf.c (doshn):
  156. Add support for Solaris hardware/software capabilities.
  157. * src/readelf.h:
  158. Ditto.
  159. * src/vasprintf.c (dispatch):
  160. Add support for ll modifier.
  161. 2008-05-16 10:25 Christos Zoulas <christos@astron.com>
  162. * Fix compiler warnings.
  163. * remove stray printf, and fix a vprintf bug. (Martin Dorey)
  164. 2008-05-06 00:13 Robert Byrnes <byrnes@wildpumpkin.net>
  165. * src/Makefile.am:
  166. Ensure that getopt_long and [v]asprintf are included in libmagic,
  167. as needed.
  168. Remove unnecessary EXTRA_DIST.
  169. * src/Makefile.in:
  170. Rerun automake.
  171. * src/vasprintf.c (dispatch):
  172. Fix variable precision bug: be sure to step past '*'.
  173. * src/vasprintf.c (core):
  174. Remove unreachable code.
  175. * src/apprentice.c (set_test_type):
  176. Add cast to avoid compiler warning.
  177. 2008-04-22 23:45 Christos Zoulas <christos@astron.com>
  178. * Add magic submission guidelines (Abel Cheung)
  179. * split msdos and windows magic (Abel Cheung)
  180. 2008-04-04 11:00 Christos Zoulas <christos@astron.com>
  181. * >= <= is not supported, so fix the magic and warn about it.
  182. reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
  183. 2008-03-27 16:16 Robert Byrnes <byrnes@wildpumpkin.net>
  184. * src/readelf.c (donote):
  185. ELF core file command name/line bug fixes and enhancements:
  186. Try larger offsets first to avoid false matches
  187. from earlier data that happen to look like strings;
  188. this primarily affected SunOS 5.x 32-bit Intel core files.
  189. Add support for command line (instead of just short name)
  190. for SunOS 5.x.
  191. Add information about NT_PSINFO for SunOS 5.x.
  192. Only trim whitespace from end of command line.
  193. 2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
  194. * Change strength of ! from MULT to 0, as it matches almost
  195. anything (Reuben Thomas)
  196. * Debian fixes (Reuben Thomas)
  197. 2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
  198. * Clarify UTF-8 BOM message (Reuben Thomas)
  199. * Add HTML comment to token list in names.h
  200. 2007-02-04 15:50 Christos Zoulas <christos@astron.com>
  201. * Debian fixes (Reuben Thomas)
  202. 2007-02-04 11:31 Christos Zoulas <christos@astron.com>
  203. * !:mime annotations in magic files (Reuben Thomas)
  204. 2007-01-29 15:35 Christos Zoulas <christos@astron.com>
  205. * zero out utime/utimes structs (Gavin Atkinson)
  206. 2007-01-26 13:45 Christos Zoulas <christos@astron.com>
  207. * reduce writable data from Diego "Flameeyes" Petten
  208. 2007-12-28 15:06 Christos Zoulas <christos@astron.com>
  209. * strtof detection
  210. * remove bogus regex magic that could cause a DoS
  211. * better mismatch version message
  212. 2007-12-27 11:35 Christos Zoulas <christos@astron.com>
  213. * bring back some fixes from OpenBSD
  214. * treat ELF dynamic objects as executables
  215. * fix gcc warnings
  216. 2007-12-01 19:55 Christos Zoulas <christos@astron.com>
  217. * make sure we have zlib.h and libz to compile the builtin
  218. decompress code
  219. 2007-10-28 20:48 Christos Zoulas <christos@astron.com>
  220. * float and double magic support (Behan Webster)
  221. 2007-10-28 20:48 Christos Zoulas <christos@astron.com>
  222. * Convert fortran to a soft test (Reuben Thomas)
  223. 2007-10-23 5:25 Christos Zoulas <christos@astron.com>
  224. * Add --with-filename, and --no-filename (Reuben Thomas)
  225. 2007-10-23 3:59 Christos Zoulas <christos@astron.com>
  226. * Rest of the mime split (Reuben Thomas)
  227. * Make usage message generated from the flags so that
  228. they stay consistent (Reuben Thomas)
  229. 2007-10-20 3:06 Christos Zoulas <christos@astron.com>
  230. * typo in comment, missing ifdef QUICK, remove unneeded code
  231. (Charles Longeau)
  232. 2007-10-17 3:33 Christos Zoulas <christos@astron.com>
  233. * Fix problem printing -\012 in some entries
  234. * Separate magic type and encoding flags (Reuben Thomas)
  235. 2007-10-09 3:55 Christos Zoulas <christos@astron.com>
  236. * configure fix for int64 and strndup (Reuben Thomas)
  237. 2007-09-26 4:45 Christos Zoulas <christos@astron.com>
  238. * Add magic_descriptor() function.
  239. * Fix regression in elf reading code where the core name was
  240. not being printed.
  241. * Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
  242. 2007-08-19 6:30 Christos Zoulas <christos@astron.com>
  243. * Make mime format consistent so that it can
  244. be easily parsed:
  245. mimetype [charset=character-set] [encoding=encoding-mime-type]
  246. Remove spurious extra text from some MIME type printouts
  247. (mostly in is_tar).
  248. Fix one case where -i produced nothing at all (for a 1-byte file,
  249. which is now classed as application/octet-stream).
  250. Remove 7/8bit classifications, since they were arbitrary
  251. and not based on the file data.
  252. This work was done by Reuben Thomas
  253. 2007-05-24 10:00 Christos Zoulas <christos@astron.com>
  254. * Fix another integer overflow (Colin Percival)
  255. 2007-03-26 13:58 Christos Zoulas <christos@astron.com>
  256. * make sure that all of struct magic_set is initialized appropriately
  257. (Brett)
  258. 2007-03-25 17:44 Christos Zoulas <christos@astron.com>
  259. * reset left bytes in the buffer (Dmitry V. Levin)
  260. * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
  261. (Peter Avalos)
  262. 2007-03-15 10:51 Christos Zoulas <christos@astron.com>
  263. * fix fortran and nroff reversed tests (Dmitry V. Levin)
  264. * fix exclude option (Dmitry V. Levin)
  265. 2007-02-08 17:30 Christos Zoulas <christos@astron.com>
  266. * fix integer underflow in file_printf which can lead to
  267. to exploitable heap overflow (Jean-Sebastien Guay-Lero)
  268. 2007-02-05 11:35 Christos Zoulas <christos@astron.com>
  269. * make socket/pipe reading more robust
  270. 2007-01-25 16:01 Christos Zoulas <christos@astron.com>
  271. * Centralize all the tests in file_buffer.
  272. * Add exclude flag.
  273. 2007-01-18 05:29 Anon Ymous <do@not.spam.me>
  274. * Move the "type" detection code from parse() into its own table
  275. driven routine. This avoids maintaining multiple lists in
  276. file.h.
  277. * Add an optional conditional field (ust before the type field).
  278. This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
  279. likely to go away.
  280. 2007-01-16 23:24 Anon Ymous <do@not.spam.me>
  281. * Fix an initialization bug in check_mem().
  282. 2007-01-16 14:58 Anon Ymous <do@not.spam.me>
  283. * Add a "default" type to print a message if nothing previously
  284. matched at that level or since the last default at that
  285. level. This is useful for setting up switch-like statements.
  286. It can also be used to do if/else constructions without a
  287. redundant second test.
  288. * Fix the "x" special case test so that one can test for that
  289. string with "=x".
  290. * Allow "search" to search the entire buffer if the "/N"
  291. search count is missing.
  292. * Make "regex" work! It now starts its search at the
  293. specified offset and takes an (optional) "/N" line count to
  294. specify the search range; otherwise it searches to the end
  295. of the file. The match is now grabbed correctly for format
  296. strings and the offset set to the end of the match.
  297. * Add a "/s" flag to "regex" and "search" to set the offset to
  298. the start of the match. By default the offset is set to the
  299. end of the match, as it is with other tests. This is mostly
  300. useful for "regex".
  301. * Make "search", "string" and "pstring" use the same
  302. file_strncmp() routine so that they support the same flags;
  303. "bestring16" and "lestring16" call the same routine, but
  304. with flags = 0. Also add a "/C" flag (in analogy to "/c")
  305. to ignore the case on uppercase (lowercase) characters in
  306. the test string.
  307. * Strict adherence to C style string escapes. A warnings are
  308. printed when compiling. Note: previously "\a" was
  309. incorrectly translated to 'a' instead of an <alert> (i.e.,
  310. BELL, typically 0x07).
  311. * Make this compile with "-Wall -Wextra" and all the warning
  312. flags used with WARNS=4 in the NetBSD source. Also make it
  313. pass lint.
  314. * Many "cleanups" and hopefully not too many new bugs!
  315. 2007-01-16 14:56 Anon Ymous <do@not.spam.me>
  316. * make several more files compile with gcc warnings
  317. on and also make them pass lint.
  318. 2007-01-16 14:54 Anon Ymous <do@not.spam.me>
  319. * fix a puts()/putc() usage goof in file.c
  320. * make file.c compile with gcc warnings and pass lint
  321. 2006-12-11 16:49 Christos Zoulas <christos@astron.com>
  322. * fix byteswapping issue
  323. * report the number of bytes we tried to
  324. allocate when allocation fails
  325. * add a few missed cases in the strength routine
  326. 2006-12-08 16:32 Christos Zoulas <christos@astron.com>
  327. * store and print the line number of the magic
  328. entry for debugging.
  329. * if the magic entry did not print anything,
  330. don't treat it as a match
  331. * change the magic strength algorithm to take
  332. into account the relationship op.
  333. * fix a bug in search where we could accidentally
  334. return a match.
  335. * propagate the error return from match to
  336. file_softmagic.
  337. 2006-11-25 13:35 Christos Zoulas <christos@astron.com>
  338. * Don't store the current offset in the magic
  339. struct, because it needs to be restored and
  340. it was not done properly all the time. Bug
  341. found by: Arkadiusz Miskiewicz
  342. * Fix problem in the '\0' separator; and don't
  343. print it as an additional separator; print
  344. it as the only separator.
  345. 2006-11-17 10:51 Christos Zoulas <christos@astron.com>
  346. * Added a -0 option to print a '\0' separator
  347. Etienne Buira <etienne.buira@free.fr>
  348. 2006-10-31 15:14 Christos Zoulas <christos@astron.com>
  349. * Check offset before copying (Mike Frysinger)
  350. * merge duplicated code
  351. * add quad date support
  352. * make sure that we nul terminate desc (Ryoji Kanai)
  353. * don't process elf notes multiple times
  354. * allow -z to report empty compressed files
  355. * use calloc to initialize the ascii buffers (Jos van den Oever)
  356. 2006-06-08 11:11 Christos Zoulas <christos@astron.com>
  357. * QNX fixes (Mike Gorchak)
  358. * Add quad support.
  359. * FIFO checks (Dr. Werner Fink)
  360. * Linux ELF fixes (Dr. Werner Fink)
  361. * Magic format checks (Dr. Werner Fink)
  362. * Magic format function improvent (Karl Chen)
  363. 2006-05-03 11:11 Christos Zoulas <christos@astron.com>
  364. * Pick up some elf changes and some constant fixes from SUSE
  365. * Identify gnu tar vs. posix tar
  366. * When keep going, don't print spurious newlines (Radek Vokál)
  367. 2006-04-01 12:02 Christos Zoulas <christos@astron.com>
  368. * Use calloc instead of malloc (Mike Frysinger)
  369. * Fix configure script to detect wctypes.h (Mike Frysinger)
  370. 2006-03-02 16:06 Christos Zoulas <christos@astron.com>
  371. * Print empty if the file is (Mike Frysinger)
  372. * Don't try to read past the end of the buffer (Mike Frysinger)
  373. * Sort magic entries by strength [experimental]
  374. 2005-11-29 13:26 Christos Zoulas <christos@astron.com>
  375. * Use iswprint() to convert the output string.
  376. (Bastien Nocera)
  377. 2005-10-31 8:54 Christos Zoulas <christos@astron.com>
  378. * Fix regression where the core info was not completely processed
  379. (Radek Vokál)
  380. 2005-10-20 11:15 Christos Zoulas <christos@astron.com>
  381. * Middle Endian magic (Diomidis Spinellis)
  382. 2005-10-17 11:15 Christos Zoulas <christos@astron.com>
  383. * Open with O_BINARY for CYGWIN (Corinna Vinschen)
  384. * Don't close stdin (Arkadiusz Miskiewicz)
  385. * Look for note sections in non executables.
  386. 2005-09-20 13:33 Christos Zoulas <christos@astron.com>
  387. * Don't print SVR4 Style in core files multiple times
  388. (Radek Vokál)
  389. 2005-08-27 04:09 Christos Zoulas <christos@astron.com>
  390. * Cygwin changes Corinna Vinschen
  391. 2005-08-18 09:53 Christos Zoulas <christos@astron.com>
  392. * Remove erroreous mention of /etc/magic in the file man page
  393. This is gentoo bug 101639. (Mike Frysinger)
  394. * Cross-compile support and detection (Mike Frysinger)
  395. 2005-08-12 10:17 Christos Zoulas <christos@astron.com>
  396. * Add -h flag and dereference symlinks if POSIXLY_CORRECT
  397. is set.
  398. 2005-07-29 13:57 Christos Zoulas <christos@astron.com>
  399. * Avoid search and regex buffer overflows (Kelledin)
  400. 2005-07-12 11:48 Christos Zoulas <christos@astron.com>
  401. * Provide stub implementations for {v,}nsprintf() for older
  402. OS's that don't have them.
  403. * Change mbstate_t autoconf detection macro from AC_MBSTATE_T
  404. to AC_TYPE_MBSTATE_T.
  405. 2005-06-25 11:48 Christos Zoulas <christos@astron.com>
  406. * Dynamically allocate the string buffers and make the
  407. default read size 256K.
  408. 2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
  409. * Dragonfly ELF note support
  410. 2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
  411. * Avoid NULL pointer dereference in time conversion.
  412. 2005-03-06 00:00 Joerg Walter <jwalt@mail.garni.ch>
  413. * Add indirect magic offset support, and search mode.
  414. 2005-01-12 00:00 Stepan Kasal <kasal@ucw.cz>
  415. * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
  416. If a CRLF text file happens to have CR at offset HOWMANY - 1
  417. (currently 0xffff), it should not be counted as CR line
  418. terminator.
  419. If a line has length exactly MAXLINELEN, it should not yet be
  420. treated as a ``very long line'', as MAXLINELEN is ``longest sane
  421. line length''.
  422. With CRLF, the line length was not computed correctly, and even
  423. lines of length MAXLINELEN - 1 were treated as ``very long''.
  424. 2004-12-07 14:15 Christos Zoulas <christos@astron.com>
  425. * bzip2 needs a lot of input buffer space on some files
  426. before it can begin uncompressing. This makes file -z
  427. fail on some bz2 files. Fix it by giving it a copy of
  428. the file descriptor to read as much as it wants if we
  429. have access to it. <christos@astron.com>
  430. 2004-11-24 12:39 Christos Zoulas <christos@astron.com>
  431. * Stack smash fix, and ELF more conservative reading.
  432. Jakub Bogusz <qboosh@pld-linux.org>
  433. 2004-11-20 18:50 Christos Zoulas <christos@astron.com>
  434. * New FreeBSD version parsing code:
  435. Jon Noack <noackjr@alumni.rice.edu>
  436. * Hackish support for ucs16 strings <christos@astron.com>
  437. 2004-11-13 03:07 Christos Zoulas <christos@astron.com>
  438. * print the file name and line number in syntax errors.
  439. 2004 10-12 10:50 Christos Zoulas <christos@astron.com>
  440. * Fix stack overwriting on 0 length strings: Tim Waugh
  441. <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
  442. 2004-09-27 11:30 Christos Zoulas <christos@astron.com>
  443. * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
  444. * Fix small memory leaks; caught by: Tamas Sarlos
  445. <stamas@csillag.ilab.sztaki.hu>
  446. 2004-07-24 16:33 Christos Zoulas <christos@astron.com>
  447. * magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
  448. * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
  449. * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
  450. * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
  451. 2004-04-12 10:55 Christos Zoulas <christos@astron.com>
  452. * make sure that magic formats match magic types during compilation
  453. * fix broken sgi magic file
  454. 2004-04-06 20:36 Christos Zoulas <christos@astron.com>
  455. * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
  456. * magic fixes
  457. 2004-03-22 15:25 Christos Zoulas <christos@astron.com>
  458. * Lots of mime fixes
  459. (Joerg Ostertag) <ostertag@rechengilde.de>
  460. * FreeBSD ELF version handling
  461. (Edwin Groothuis) <edwin@mavetju.org>
  462. * correct cleanup in all cases; don't just close the file.
  463. (Christos Zoulas) <christos@astron.com>
  464. * add gettext message catalogue support
  465. (Michael Piefel) <piefel@debian.org>
  466. * better printout for unreadable files
  467. (Michael Piefel) <piefel@debian.org>
  468. * compensate for missing MAXPATHLEN
  469. (Michael Piefel) <piefel@debian.org>
  470. * add wide character string length computation
  471. (Michael Piefel) <piefel@debian.org>
  472. * Avoid infinite loops caused by bad elf alignments
  473. or name and description note sizes. Reported by
  474. (Mikael Magnusson) <mmikael@comhem.se>
  475. 2004-03-09 13:55 Christos Zoulas <christos@astron.com>
  476. * Fix possible memory leak on error and add missing regfree
  477. (Dmitry V. Levin) <ldv@altlinux.org>
  478. 2003-12-23 12:12 Christos Zoulas <christos@astron.com>
  479. * fix -k flag (Maciej W. Rozycki)
  480. 2003-11-18 14:10 Christos Zoulas <christos@astron.com>
  481. * Try to give us much info as possible on corrupt elf files.
  482. (Willy Tarreau) <willy@w.ods.org>
  483. * Updated python bindings (Brett Funderburg)
  484. <brettf@deepfile.com>
  485. 2003-11-11 15:03 Christos Zoulas <christos@astron.com>
  486. * Include file.h first, because it includes config.h
  487. breaks largefile test macros otherwise.
  488. (Paul Eggert <eggert@CS.UCLA.EDU> via
  489. Lars Hecking <lhecking@nmrc.ie>)
  490. 2003-10-14 21:39 Christos Zoulas <christos@astron.com>
  491. * Python bindings (Brett Funderburg) <brettf@deepfile.com>
  492. * Don't lookup past the end of the buffer
  493. (Chad Hanson) <chanson@tcs-sec.com>
  494. * Add MAGIC_ERROR and api on magic_errno()
  495. 2003-10-08 12:40 Christos Zoulas <christos@astron.com>
  496. * handle error conditions from compile as fatal
  497. (Antti Kantee) <pooka@netbsd.org>
  498. * handle magic filename parsing sanely
  499. * more magic fixes.
  500. * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
  501. * describe magic file handling
  502. (Bryan Henderson) <bryanh@giraffe-data.com>
  503. 2003-09-12 15:09 Christos Zoulas <christos@astron.com>
  504. * update magic files.
  505. * remove largefile support from file.h; it breaks things on most OS's
  506. 2003-08-10 10:25 Christos Zoulas <christos@astron.com>
  507. * fix unmapping'ing of mmaped files.
  508. 2003-07-10 12:03 Christos Zoulas <christos@astron.com>
  509. * don't exit with -1 on error; always exit 1 (Marty Leisner)
  510. * restore utimes code.
  511. 2003-06-10 17:03 Christos Zoulas <christos@astron.com>
  512. * make sure we don't access uninitialized memory.
  513. * pass lint
  514. * #ifdef __cplusplus in magic.h
  515. 2003-05-25 19:23 Christos Zoulas <christos@astron.com>
  516. * rename cvs magic file to revision to deal with
  517. case insensitive filesystems.
  518. 2003-05-23 17:03 Christos Zoulas <christos@astron.com>
  519. * documentation fixes from Michael Piefel <piefel@debian.org>
  520. * magic fixes (various)
  521. * revert basename magic in .mgc name determination
  522. * buffer protection in uncompress,
  523. signness issues,
  524. close files
  525. Maciej W. Rozycki <macro@ds2.pg.gda.pl
  526. 2003-04-21 20:12 Christos Zoulas <christos@astron.com>
  527. * fix zsh magic
  528. 2003-04-04 16:59 Christos Zoulas <christos@astron.com>
  529. * fix operand sort order in string.
  530. 2003-04-02 17:30 Christos Zoulas <christos@astron.com>
  531. * cleanup namespace in magic.h
  532. 2003-04-02 13:50 Christos Zoulas <christos@astron.com>
  533. * Magic additions (Alex Ott)
  534. * Fix bug that broke VPATH compilation (Peter Breitenlohner)
  535. 2003-03-28 16:03 Christos Zoulas <christos@astron.com>
  536. * remove packed attribute from magic struct.
  537. * make the magic struct properly aligned.
  538. * bump version number of compiled files to 2.
  539. 2003-03-27 13:10 Christos Zoulas <christos@astron.com>
  540. * separate tar detection and run it before softmagic.
  541. * fix reversed symlink test.
  542. * fix version printing.
  543. * make separator a string instead of a char.
  544. * update manual page and sort options.
  545. 2003-03-26 11:00 Christos Zoulas <christos@astron.com>
  546. * Pass lint
  547. * make NULL in magic_file mean stdin
  548. * Fix "-" argument to file to pass NULL to magic_file
  549. * avoid pointer casts by using memcpy
  550. * rename magic_buf -> magic_buffer
  551. * keep only the first error
  552. * manual page: new sentence, new line
  553. * fix typo in api function (magic_buf -> magic_buffer)