ChangeLog 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489
  1. 2015-01-02 15:15 Christos Zoulas <christos@zoulas.com>
  2. * release 5.22
  3. 2015-01-01 12:01 Christos Zoulas <christos@zoulas.com>
  4. * add indirect relative for TIFF/Exif
  5. 2014-12-16 18:10 Christos Zoulas <christos@zoulas.com>
  6. * restructure elf note printing to avoid repeated messages
  7. * add note limit, suggested by Alexander Cherepanov
  8. 2014-12-16 16:53 Christos Zoulas <christos@zoulas.com>
  9. * Bail out on partial pread()'s (Alexander Cherepanov)
  10. * Fix incorrect bounds check in file_printable (Alexander Cherepanov)
  11. 2014-12-11 20:01 Christos Zoulas <christos@zoulas.com>
  12. * PR/405: ignore SIGPIPE from uncompress programs
  13. * change printable -> file_printable and use it in
  14. more places for safety
  15. * in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
  16. is present print the interpreter name.
  17. 2014-12-10 20:01 Christos Zoulas <christos@zoulas.com>
  18. * release 5.21
  19. 2014-11-27 18:40 Christos Zoulas <christos@zoulas.com>
  20. * Allow setting more parameters from the command line.
  21. * Split name/use and indirect magic recursion limits.
  22. 2014-11-27 11:12 Christos Zoulas <christos@zoulas.com>
  23. * Adjust ELF parameters and the default recursion
  24. level.
  25. * Allow setting the recursion level dynamically.
  26. 2014-11-24 8:55 Christos Zoulas <christos@zoulas.com>
  27. * The following fixes resulted from Thomas Jarosch's fuzzing
  28. tests that revealed severe performance issues on pathological
  29. input:
  30. - limit number of elf program and sections processing
  31. - abort elf note processing quickly
  32. - reduce the number of recursion levels from 20 to 10
  33. - preserve error messages in indirect magic handling
  34. This is tracked as CVE-2014-8116 and CVE-2014-8117
  35. 2014-11-12 10:30 Christos Zoulas <christos@zoulas.com>
  36. * fix bogus free in the user buffer case.
  37. 2014-11-11 12:35 Christos Zoulas <christos@zoulas.com>
  38. * fix out of bounds read for pascal strings
  39. * fix memory leak (not freeing the head of each mlist)
  40. 2014-11-07 10:25 Christos Zoulas <christos@zoulas.com>
  41. * When printing strings from a file, convert them to printable
  42. on a byte by byte basis, so that we don't get issues with
  43. locale's trying to interpret random byte streams as UTF-8 and
  44. having printf error out with EILSEQ.
  45. 2014-10-17 11:48 Christos Zoulas <christos@zoulas.com>
  46. * fix bounds in note reading (Francisco Alonso / Red Hat)
  47. 2014-10-11 15:02 Christos Zoulas <christos@zoulas.com>
  48. * fix autoconf glue for setlocale and locale_t; some OS's
  49. have locale_t in xlocale.h
  50. 2014-10-10 15:01 Christos Zoulas <christos@zoulas.com>
  51. * release 5.20
  52. 2014-08-17 10:01 Christos Zoulas <christos@zoulas.com>
  53. * recognize encrypted CDF documents
  54. 2014-08-04 9:18 Christos Zoulas <christos@zoulas.com>
  55. * add magic_load_buffers from Brooks Davis
  56. 2014-07-24 16:40 Christos Zoulas <christos@zoulas.com>
  57. * add thumbs.db support
  58. 2014-06-12 12:28 Christos Zoulas <christos@zoulas.com>
  59. * release 5.19
  60. 2014-06-09 9:04 Christos Zoulas <christos@zoulas.com>
  61. * Misc buffer overruns and missing buffer size tests in cdf parsing
  62. (Francisco Alonso, Jan Kaluza)
  63. 2014-06-02 14:50 Christos Zoulas <christos@zoulas.com>
  64. * Enforce limit of 8K on regex searches that have no limits
  65. * Allow the l modifier for regex to mean line count. Default
  66. to byte count. If line count is specified, assume a max
  67. of 80 characters per line to limit the byte count.
  68. * Don't allow conversions to be used for dates, allowing
  69. the mask field to be used as an offset.
  70. 2014-05-30 12:51 Christos Zoulas <christos@zoulas.com>
  71. * Make the range operator limit the length of the
  72. regex search.
  73. 2014-05-14 19:23 Christos Zoulas <christos@zoulas.com>
  74. * PR/347: Windows fixes
  75. * PR/352: Hangul word processor recognition
  76. * PR/354: Encoding irregularities in text files
  77. 2014-05-06 6:12 Christos Zoulas <christos@zoulas.com>
  78. * Fix uninitialized title in CDF files (Jan Kaluza)
  79. 2014-05-04 14:55 Christos Zoulas <christos@zoulas.com>
  80. * PR/351: Fix compilation of empty files
  81. 2014-04-30 17:39 Christos Zoulas <christos@zoulas.com>
  82. * Fix integer formats: We don't specify 'l' or
  83. 'h' and 'hh' specifiers anymore, only 'll' for
  84. quads and nothing for the rest. This is so that
  85. magic writing is simpler.
  86. 2014-04-01 15:25 Christos Zoulas <christos@zoulas.com>
  87. * PR/341: Jan Kaluza, fix memory leak
  88. * PR/342: Jan Kaluza, fix out of bounds read
  89. 2014-03-28 15:25 Christos Zoulas <christos@zoulas.com>
  90. * Fix issue with long formats not matching fmtcheck
  91. 2014-03-26 11:25 Christos Zoulas <christos@zoulas.com>
  92. * release 5.18
  93. 2014-03-15 17:45 Christos Zoulas <christos@zoulas.com>
  94. * add fmtcheck(3) for those who don't have it
  95. 2014-03-14 15:12 Christos Zoulas <christos@zoulas.com>
  96. * prevent mime entries from being attached to magic
  97. entries with no descriptions
  98. * adjust magic strength for regex type
  99. * remove superfluous ascmagic with encoding test
  100. 2014-03-06 12:01 Christos Zoulas <christos@zoulas.com>
  101. * fix regression fix echo -ne "\012\013\014" | file -i -
  102. which printed "binary" instead of "application/octet-stream"
  103. * add size_t overflow check for magic file size
  104. 2014-02-27 16:01 Christos Zoulas <christos@zoulas.com>
  105. * experimental support for matching with CFD CLSID
  106. 2014-02-18 13:04 Kimmo Suominen (kimmo@suominen.com)
  107. * Cache old LC_CTYPE locale before setting it to "C", so
  108. we can use it to restore LC_CTYPE instead of asking
  109. setlocale() to scan the environment variables.
  110. 2014-02-12 18:21 Christos Zoulas <christos@zoulas.com>
  111. * Count recursion levels through indirect magic
  112. 2014-02-11 10:40 Christos Zoulas <christos@zoulas.com>
  113. * Prevent infinite recursion on files with indirect offsets of 0
  114. 2014-01-30 21:00 Christos Zoulas <christos@zoulas.com>
  115. * Add -E flag that makes file print filesystem errors to stderr
  116. and exit.
  117. 2014-01-08 17:20 Christos Zoulas <christos@zoulas.com>
  118. * mime printing could print results from multiple magic entries
  119. if there were multiple matches.
  120. * in some cases overflow was not detected when computing offsets
  121. in softmagic.
  122. 2013-12-05 12:00 Christos Zoulas <christos@zoulas.com>
  123. * use strcasestr() to for cdf strings
  124. * reset to the "C" locale while doing regex operations, or case
  125. insensitive comparisons; this is provisional
  126. 2013-11-19 20:10 Christos Zoulas <christos@zoulas.com>
  127. * always leave magic file loaded, don't unload for magic_check, etc.
  128. * fix default encoding to binary instead of unknown which broke recently
  129. * handle empty and one byte files, less specially so that
  130. --mime-encoding does not break completely.
  131. `
  132. 2013-11-06 14:40 Christos Zoulas <christos@zoulas.com>
  133. * fix erroneous non-zero exit code from non-existant file and message
  134. 2013-10-29 14:25 Christos Zoulas <christos@zoulas.com>
  135. * add CDF MSI file detection (Guy Helmer)
  136. 2013-09-03 11:56 Christos Zoulas <christos@zoulas.com>
  137. * Don't mix errors and regular output if there was an error
  138. * in magic_descriptor() don't close the file and try to restore
  139. its position
  140. 2013-05-30 17:25 Christos Zoulas <christos@zoulas.com>
  141. * Don't treat magic as an error if offset was past EOF (Christoph Biedl)
  142. 2013-05-28 17:25 Christos Zoulas <christos@zoulas.com>
  143. * Fix spacing issues in softmagic and elf (Jan Kaluza)
  144. 2013-05-02 18:00 Christos Zoulas <christos@zoulas.com>
  145. * Fix segmentation fault with multiple magic_load commands.
  146. 2013-04-22 11:20 Christos Zoulas <christos@zoulas.com>
  147. * The way "default" was implemented was not very useful
  148. because the "if something was printed at that level"
  149. was not easily controlled by the user, and the format
  150. was bound to a string which is too restrictive. Add
  151. a "clear" for that level keyword and make "default"
  152. void. This way one can do:
  153. >>13 clear x
  154. >>13 lelong 1 foo
  155. >>13 lelong 2 bar
  156. >>13 default x
  157. >>>13 lelong x unknown %x
  158. 2013-03-25 13:20 Christos Zoulas <christos@zoulas.com>
  159. * disallow strength setting in "name" entries
  160. 2013-03-06 21:24 Christos Zoulas <christos@zoulas.com>
  161. * fix recursive magic separator printing
  162. 2013-02-26 19:28 Christos Zoulas <christos@zoulas.com>
  163. * limit recursion level for mget
  164. * fix pread() related breakage in cdf
  165. * handle offsets properly in recursive "use"
  166. 2013-02-18 10:39 Christos Zoulas <christos@zoulas.com>
  167. * add elf reading of debug info to determine if file is stripped
  168. (Jan Kaluza)
  169. * use pread()
  170. 2013-01-25 18:05 Christos Zoulas <christos@zoulas.com>
  171. * change mime description size from 64 to 80 to accommodate OOXML.
  172. 2013-01-11 14:50 Christos Zoulas <christos@zoulas.com>
  173. * Warn about inconsistent continuation levels.
  174. * Change fsmagic to add a space after it prints.
  175. 2013-01-10 21:00 Christos Zoulas <christos@zoulas.com>
  176. * Make getline public so that file can link against it.
  177. Perhaps it is better to rename it, or hide it differently.
  178. Fixes builds on platforms that do not provide it.
  179. 2013-01-07 16:30 Christos Zoulas <christos@zoulas.com>
  180. * Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
  181. what long, int, short, etc is (Guy Harris)
  182. 2013-01-06 11:20 Christos Zoulas <christos@zoulas.com>
  183. * add magic_version function and constant
  184. * Redo memory allocation and de-allocation.
  185. (prevents double frees on non mmap platforms)
  186. * Fix bug with name/use having to do with passing
  187. found state from the parent to the child and back.
  188. 2012-12-19 8:47 Christos Zoulas <christos@zoulas.com>
  189. * Only print elf capabilities for archs we know (Jan Kaluza)
  190. 2012-10-30 19:14 Christos Zoulas <christos@zoulas.com>
  191. * Add "name" and "use" file types in order to look
  192. inside mach-o files.
  193. 2012-09-06 10:40 Christos Zoulas <christos@zoulas.com>
  194. * make --version exit 0 (Matthew Schultz)
  195. * add string/T (Jan Kaluza)
  196. 2012-08-09 2:15 Christos Zoulas <christos@zoulas.com>
  197. * add z and t modifiers for our own vasprintf
  198. * search for $HOME/.magic.mgc if it is there first
  199. * fix reads from a pipe, and preserve errno
  200. 2012-05-15 13:12 Christos Zoulas <christos@zoulas.com>
  201. * use ctime_r, asctime_r
  202. 2012-04-06 17:18 Christos Zoulas <christos@zoulas.com>
  203. * Fixes for indirect offsets to handle apple disk formats
  204. 2012-04-03 18:26 Christos Zoulas <christos@zoulas.com>
  205. * Add windows date field types
  206. * More info for windows shortcuts (incomplete)
  207. 2012-02-20 17:33 Christos Zoulas <christos@zoulas.com>
  208. * Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)
  209. 2011-12-15 12:17 Chris Metcalf <cmetcalf@tilera.com>
  210. * Support Tilera architectures (tile64, tilepro, tilegx).
  211. 2011-12-16 16:33 Reuben Thomas <rrt@sc3d.org>
  212. * Add magic for /usr/bin/env Perl scripts
  213. * Weaken generic script magic to avoid clashing with
  214. language-specific magic.
  215. 2011-12-08 13:37 Reuben Thomas <rrt@sc3d.org>
  216. * Simplify if (p) free(p) to free(p).
  217. 2011-12-08 13:07 Reuben Thomas <rrt@sc3d.org>
  218. * Remove hardwired token finding (names.h), turning it into soft
  219. magic. Patterns are either anchored regexs or search/8192. English
  220. language detection and PL/1 detection have been removed as they
  221. were too fragile. -e tokens is still accepted for backwards
  222. compatibility.
  223. * Move 3ds patterns (which are commented out anyway) into autodesk
  224. (they were, oddly, in c-lang).
  225. 2011-12-06 00:16 Reuben Thomas <rrt@sc3d.org>
  226. * Tweak strength of generic hash-bang detectors to be less than
  227. specific ones.
  228. * Make an inconsistent description of Python scripts consistent.
  229. 2011-12-05 23:58 Reuben Thomas <rrt@sc3d.org>
  230. * Fix minor error in file(1).
  231. 2011-11-05 00:00 Reuben Thomas <rrt@sc3d.org>
  232. * Fix issue #150 (I hope).
  233. 2011-09-22 12:57 Christos Zoulas <christos@zoulas.com>
  234. * Python3 binding fixes from Kelly Anderson
  235. 2011-09-20 11:32 Christos Zoulas <christos@zoulas.com>
  236. * If a string type magic entry is marked as text or binary
  237. only match text files against text entries and binary
  238. files against binary entries.
  239. 2011-09-01 12:12 Christos Zoulas <christos@zoulas.com>
  240. * Don't wait for any subprocess, just the one we forked.
  241. 2011-08-26 16:40 Christos Zoulas <christos@zoulas.com>
  242. * If the application name is not set in a cdf file, try to see
  243. if it has a directory with the application name on it.
  244. 2011-08-17 14:32 Christos Zoulas <christos@zoulas.com>
  245. * Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
  246. 2011-08-14 09:03 Christos Zoulas <christos@zoulas.com>
  247. * Don't use variable string formats.
  248. 2011-07-12 12:32 Reuben Thomas <rrt@sc3d.org>
  249. * Fix detection of Zip files (Mantis #128).
  250. * Make some minor improvements to file(1).
  251. * Rename MIME types for filesystem objects for consistency with
  252. xdg-utils. Typically this means that application/x-foo becomes
  253. inode/foo, but some names also change slightly, e.g.
  254. application/x-character-device becomes inode/chardevice.
  255. 2011-05-10 20:57 Christos Zoulas <christos@zoulas.com>
  256. * fix mingw compilation (Abradoks)
  257. 2011-05-10 20:57 Christos Zoulas <christos@zoulas.com>
  258. * remove patchlevel.h
  259. * Fix read past allocated memory caused by double-incrementing
  260. a pointer in a loop (reported by Roberto Maar)
  261. 2011-03-30 15:45 Christos Zoulas <christos@zoulas.com>
  262. * Fix cdf string buffer setting (Sven Anders)
  263. 2011-03-20 16:35 Christos Zoulas <christos@zoulas.com>
  264. * Eliminate MAXPATHLEN and use dynamic allocation for
  265. path and file buffers.
  266. 2011-03-15 18:15 Christos Zoulas <christos@zoulas.com>
  267. * binary tests on magic entries with masks could spuriously
  268. get converted to ascii.
  269. 2011-03-12 18:06 Reuben Thomas <rrt@sc3d.org>
  270. * Improve file.man (remove BUGS, present email addresses consistently).
  271. 2011-03-07 19:38 Christos Zoulas <christos@zoulas.com>
  272. * add lrzip support (from Ville Skytta)
  273. 2011-02-10 16:36 Christos Zoulas <christos@zoulas.com>
  274. * fix CDF bounds checking (Guy Helmer)
  275. 2011-02-10 12:03 Christos Zoulas <christos@zoulas.com>
  276. * add cdf_ctime() that prints a meaningful error when time cannot
  277. be converted.
  278. 2011-02-02 20:40 Christos Zoulas <christos@zoulas.com>
  279. * help and version output to stdout.
  280. * When matching softmagic for ascii files, don't just print
  281. the softmagic classification, keep going and print the
  282. text classification too. This fixes broken troff files when
  283. we moved them from keyword recognition to softmagic
  284. (they stopped printing "with CRLF" etc.)
  285. Reported by Doug McIlroy.
  286. 2011-01-16 19:31 Reuben Thomas <rrt@sc3d.org>
  287. * Fix two potential buffer overruns in apprentice_list.
  288. 2011-01-14 22:33 Reuben Thomas <rrt@sc3d.org>
  289. * New Python binding in pure Python.
  290. * Update libmagic(3).
  291. 2011-01-06 21:40 Reuben Thomas <rrt@sc3d.org>
  292. * Fix Python bindings (including recent Python 3 compatibility
  293. update).
  294. 2011-01-04 18:43 Reuben Thomas <rrt@sc3d.org>
  295. * magic/Makefile.am: make it easier to recover from magic build failures.
  296. * Fix pstring length specifier parsing to avoid generating invalid
  297. magic files.
  298. * Add pstring length "J" (for "JPEG") to specify that the length
  299. include itself.
  300. * Fix JPEG comment parsing at last using pstring/HJ!
  301. * Ignore section 5 man pages in doc/.cvsignore.
  302. 2010-12-22 13:12 Christos Zoulas <christos@zoulas.com>
  303. * Add pstring/BHhLl to specify the type of the length of pascal
  304. strings.
  305. 2010-11-26 18:39 Reuben Thomas <rrt@sc3d.org>
  306. * Fix "-e soft": it was ignored when softmagic was called
  307. during asciimagic.
  308. * Improve comments and use "unsigned char" in tar.h/is_tar.c.
  309. 2010-11-05 17:26 Reuben Thomas <rrt@sc3d.org>
  310. * Make bug reporting addresses more visible.
  311. 2010-11-01 18:35 Reuben Thomas <rrt@sc3d.org>
  312. * Add tcl magic from Gustaf Neumann
  313. 2010-10-24 10:42 Christos Zoulas <christos@zoulas.com>
  314. * Fix the whitespace comparing code (Christopher Chittleborough)
  315. 2010-10-06 21:05 Christos Zoulas <christos@zoulas.com>
  316. * allow string/t to work (Jan Kaluza)
  317. 2010-09-20 22:11 Reuben Thomas <rrt@sc3d.org>
  318. * Apply some patches from Ubuntu and Fedora.
  319. 2010-09-20 21:16 Reuben Thomas <rrt@sc3d.org>
  320. * Apply all patches from Debian package 5.04-6 which have not
  321. already been applied and are not Debian-specific.
  322. 2010-09-20 15:24 Reuben Thomas <rrt@sc3d.org>
  323. * Minor security fix to softmagic.c (don't use untrusted
  324. string as printf format).
  325. 2010-07-21 12:20 Christos Zoulas <christos@zoulas.com>
  326. * MINGW32 portability from LRN
  327. * Don't warn about escaping magic regex chars when we are in a regex.
  328. 2010-07-19 10:55 Christos Zoulas <christos@zoulas.com>
  329. * Only try to print prpsinfo for core files. (Jan Kaluza)
  330. 2010-04-22 12:55 Christos Zoulas <christos@zoulas.com>
  331. * Try more elf offsets for Debian core files. (Arnaud Giersch)
  332. 2010-02-20 15:18 Reuben Thomas <rrt@sc3d.org>
  333. * Clarify which sort of CDF we mean.
  334. 2010-02-14 22:58 Reuben Thomas <rrt@sc3d.org>
  335. * Re-jig Zip file type magic so that unsupported special
  336. Zip types (those with "mimetype" at offset 30) can be
  337. recognized.
  338. 2010-02-02 21:50 Reuben Thomas <rrt@sc3d.org>
  339. * Add support for OCF (EPUB) files (application/epub+zip)
  340. 2010-01-28 18:25 Christos Zoulas <christos@zoulas.com>
  341. * Fix core-dump from unbound loop:
  342. https://bugzilla.redhat.com/show_bug.cgi?id=533245
  343. 2010-01-22 15:45 Christos Zoulas <christos@zoulas.com>
  344. * print proper mime for crystal reports file
  345. * print the last summary information of a cdf document, not the
  346. first so that nested documents print the right info
  347. 2010-01-16 18:42 Charles Longeau <chl@tuxfamily.org>
  348. * bring back some fixes from OpenBSD:
  349. - make gcc2 builds file
  350. - fix typos in a magic file comment
  351. 2009-11-17 18:35 Christos Zoulas <christos@zoulas.com>
  352. * ctime/asctime can return NULL on some OS's although
  353. they should not (Toshit Antani)
  354. 2009-09-14 13:49 Christos Zoulas <christos@zoulas.com>
  355. * Centralize magic path handling routines and remove the
  356. special-casing from file.c so that the python module for
  357. example comes up with the same magic path (Fixes ~/.magic
  358. handling) (from Gab)
  359. 2009-09-11 23:38 Reuben Thomas <rrt@sc3d.org>
  360. * When magic argument is a directory, read the files in
  361. strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
  362. 2009-09-11 13:11 Reuben Thomas <rrt@sc3d.org>
  363. * Combine overlapping epoc and psion magic files into one (epoc).
  364. * Add some more EPOC MIME types.
  365. 2009-08-19 15:55 Christos Zoulas <christos@zoulas.com>
  366. * Fix 3 bugs (From Ian Darwin):
  367. - file_showstr could move one past the end of the array
  368. - parse_apple did not nul terminate the string in the overflow case
  369. - parse_mime truncated the wrong string in the overflow case
  370. 2009-08-12 12:28 Robert Byrnes <byrnes@wildpumpkin.net>
  371. * Include Localstuff when compiling magic.
  372. 2009-07-15 10:05 Christos Zoulas <christos@zoulas.com>
  373. * Fix logic for including mygetopts.h
  374. * Make cdf.c compile again with debugging
  375. * Add the necessary field handling for crystal reports files to work
  376. 2009-06-23 01:34 Reuben Thomas <rrt@sc3d.org>
  377. * Stop "(if" identifying Lisp files, that's plain dumb!
  378. 2009-06-09 22:13 Reuben Thomas <rrt@sc3d.org>
  379. * Add a couple of missing MP3 MIME types.
  380. 2009-05-27 23:00 Reuben Thomas <rrt@sc3d.org>
  381. * Add full range of hash-bang tests for Python and Ruby.
  382. * Add MIME types for Python and Ruby scripts.
  383. 2009-05-13 10:44 Christos Zoulas <christos@zoulas.com>
  384. * off by one in parsing hw capabilities in elf
  385. (Cheng Renquan)
  386. 2009-05-08 13:40 Christos Zoulas <christos@zoulas.com>
  387. * lint fixes and more from NetBSD
  388. 2009-05-06 10:25 Christos Zoulas <christos@zoulas.com>
  389. * Avoid null dereference in cdf code (Drew Yao)
  390. * More cdf bounds checks and overflow checks
  391. 2009-05-01 18:37 Christos Zoulas <christos@zoulas.com>
  392. * Buffer overflow fixes from Drew Yao
  393. 2009-04-30 17:10 Christos Zoulas <christos@zoulas.com>
  394. * Fix more cdf lossage. All the documents I have
  395. right now print the correct information.
  396. 2009-03-27 18:43 Christos Zoulas <christos@zoulas.com>
  397. * don't print \012- separators in the same magic entry
  398. if it consists of multiple magic printing lines.
  399. 2009-03-23 10:20 Christos Zoulas <christos@zoulas.com>
  400. * Avoid file descriptor leak in compress code from
  401. (Daniel Novotny)
  402. 2009-03-18 16:50 Christos Zoulas <christos@zoulas.com>
  403. * Allow escaping of relation characters, so that we can say \^[A-Z]
  404. and the ^ is not eaten as a relation char.
  405. * Fix troff and fortran to their previous glory using
  406. regex. This was broken since their removel from ascmagic.
  407. 2009-03-10 16:50 Christos Zoulas <christos@zoulas.com>
  408. * don't use strlen in strndup() (Toby Peterson)
  409. 2009-03-10 7:45 Christos Zoulas <christos@zoulas.com>
  410. * avoid c99 syntax.
  411. 2009-02-23 15:45 Christos Zoulas <christos@zoulas.com>
  412. * make the cdf code use the buffer first if available,
  413. and then the fd code.
  414. 2009-02-13 13:45 Christos Zoulas <christos@zoulas.com>
  415. * look for struct option to determine if getopt.h is usable for IRIX.
  416. * sanitize cdf document strings
  417. 2009-02-04 13:25 Christos Zoulas <christos@zoulas.com>
  418. * fix OS/2 warnings.
  419. 2008-12-12 15:50 Christos Zoulas <christos@zoulas.com>
  420. * fix initial offset calculation for non 4K sector files
  421. * add loop limits to avoid DoS attacks by constructing
  422. looping sector references.
  423. 2008-12-03 13:05 Christos Zoulas <christos@zoulas.com>
  424. * fix memory botches on cdf file parsing.
  425. * exit with non-zero value for any error, not just for the last
  426. file processed.
  427. 2008-11-09 20:42 Charles Longeau <chl@tuxfamily.org>
  428. * Replace all str{cpy,cat} functions with strl{cpy,cat}
  429. * Ensure that strl{cpy,cat} are included in libmagic,
  430. as needed.
  431. 2008-11-06 18:18 Christos Zoulas <christos@zoulas.com>
  432. * Handle ID3 format files.
  433. 2008-11-06 23:00 Reuben Thomas <rrt@sc3d.org>
  434. * Fix --mime, --mime-type and --mime-encoding under new scheme.
  435. * Rename "ascii" to "text" and add "encoding" test.
  436. * Return a precise ("utf-16le" or "utf-16be") MIME charset for
  437. UTF-16.
  438. * Fix error in comment caused by automatic indentation adding
  439. words!
  440. 2008-11-06 10:35 Christos Zoulas <christos@astron.com>
  441. * use memchr instead of strchr because the string
  442. might not be NUL terminated (Scott MacVicar)
  443. 2008-11-03 07:31 Reuben Thomas <rrt@sc3d.org>
  444. * Fix a printf with a non-literal format string.
  445. * Fix formatting and punctuation of help for "--apple".
  446. 2008-10-30 11:00 Reuben Thomas <rrt@sc3d.org>
  447. * Correct words counts in comments of struct magic.
  448. * Fix handle_annotation to allow both Apple and MIME types to be
  449. printed, and to return correct code if MIME type is
  450. printed (1, not 0) or if there's an error (-1 not 1).
  451. * Fix output of charset for MIME type (precede with semi-colon;
  452. fixes Debian bug #501460).
  453. * Fix potential attacks via conversion specifications in magic
  454. strings.
  455. * Add a FIXME for Debian bug #488562 (magic files should be
  456. read in a defined order, by sorting the names).
  457. 2008-10-18 16:45 Christos Zoulas <christos@astron.com>
  458. * Added APPLE file creator/type
  459. 2008-10-12 10:20 Christos Zoulas <christos@astron.com>
  460. * Added CDF parsing
  461. 2008-10-09 16:40 Christos Zoulas <christos@astron.com>
  462. * filesystem and msdos patches (Joerg Jenderek)
  463. 2008-10-09 13:20 Christos Zoulas <christos@astron.com>
  464. * correct --exclude documentation issues: remove troff and fortran
  465. and rename "token" to "tokens". (Randy McMurchy)
  466. 2008-10-01 10:30 Christos Zoulas <christos@astron.com>
  467. * Read ~/.magic in addition to the default magic file not instead
  468. of, as documented in the man page.
  469. 2008-09-10 21:30 Reuben Thomas <rrt@sc3d.org>
  470. * Comment out graphviz patterns, as they match too many files.
  471. 2008-08-30 12:54 Christos Zoulas <christos@astron.com>
  472. * Don't eat trailing \n in magic enties.
  473. * Cast defines to allow compilation using a c++ compiler.
  474. 2008-08-25 23:56 Reuben Thomas <rrt@sc3d.org>
  475. * Add text/x-lua MIME type for Lua scripts.
  476. * Escape { in regex in graphviz patterns.
  477. 2008-07-26 00:59 Reuben Thomas <rrt@sc3d.org>
  478. * Add MIME types for special files.
  479. * Use access to give more accurate information for files that
  480. can't be opened.
  481. * Add a TODO list.
  482. 2008-07-02 11:15 Christos Zoulas <christos@astron.com>
  483. * add !:strength op to adjust magic strength (experimental)
  484. 2008-06-16 21:41 Reuben Thomas <rrt@sc3d.org>
  485. * Fix automake error in configure.ac.
  486. * Add MIME type for Psion Sketch files.
  487. 2008-06-05 08:59 Christos Zoulas <christos@astron.com>
  488. * Don't print warnings about bad namesize in stripped
  489. binaries with PT_NOTE is still there, and the actual
  490. note is gone (Jakub Jelinek)
  491. 2008-05-28 15:12 Robert Byrnes <byrnes@wildpumpkin.net>
  492. * magic/Magdir/elf:
  493. Note invalid byte order for little-endian SPARC32PLUS.
  494. Add SPARC V9 vendor extensions and memory model.
  495. * src/elfclass.h:
  496. Pass target machine to doshn (for Solaris hardware capabilities).
  497. * src/readelf.c (doshn):
  498. Add support for Solaris hardware/software capabilities.
  499. * src/readelf.h:
  500. Ditto.
  501. * src/vasprintf.c (dispatch):
  502. Add support for ll modifier.
  503. 2008-05-16 10:25 Christos Zoulas <christos@astron.com>
  504. * Fix compiler warnings.
  505. * remove stray printf, and fix a vprintf bug. (Martin Dorey)
  506. 2008-05-06 00:13 Robert Byrnes <byrnes@wildpumpkin.net>
  507. * src/Makefile.am:
  508. Ensure that getopt_long and [v]asprintf are included in libmagic,
  509. as needed.
  510. Remove unnecessary EXTRA_DIST.
  511. * src/Makefile.in:
  512. Rerun automake.
  513. * src/vasprintf.c (dispatch):
  514. Fix variable precision bug: be sure to step past '*'.
  515. * src/vasprintf.c (core):
  516. Remove unreachable code.
  517. * src/apprentice.c (set_test_type):
  518. Add cast to avoid compiler warning.
  519. 2008-04-22 23:45 Christos Zoulas <christos@astron.com>
  520. * Add magic submission guidelines (Abel Cheung)
  521. * split msdos and windows magic (Abel Cheung)
  522. 2008-04-04 11:00 Christos Zoulas <christos@astron.com>
  523. * >= <= is not supported, so fix the magic and warn about it.
  524. reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
  525. 2008-03-27 16:16 Robert Byrnes <byrnes@wildpumpkin.net>
  526. * src/readelf.c (donote):
  527. ELF core file command name/line bug fixes and enhancements:
  528. Try larger offsets first to avoid false matches
  529. from earlier data that happen to look like strings;
  530. this primarily affected SunOS 5.x 32-bit Intel core files.
  531. Add support for command line (instead of just short name)
  532. for SunOS 5.x.
  533. Add information about NT_PSINFO for SunOS 5.x.
  534. Only trim whitespace from end of command line.
  535. 2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
  536. * Change strength of ! from MULT to 0, as it matches almost
  537. anything (Reuben Thomas)
  538. * Debian fixes (Reuben Thomas)
  539. 2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
  540. * Clarify UTF-8 BOM message (Reuben Thomas)
  541. * Add HTML comment to token list in names.h
  542. 2007-02-04 15:50 Christos Zoulas <christos@astron.com>
  543. * Debian fixes (Reuben Thomas)
  544. 2007-02-04 11:31 Christos Zoulas <christos@astron.com>
  545. * !:mime annotations in magic files (Reuben Thomas)
  546. 2007-01-29 15:35 Christos Zoulas <christos@astron.com>
  547. * zero out utime/utimes structs (Gavin Atkinson)
  548. 2007-01-26 13:45 Christos Zoulas <christos@astron.com>
  549. * reduce writable data from Diego "Flameeyes" Petten
  550. 2007-12-28 15:06 Christos Zoulas <christos@astron.com>
  551. * strtof detection
  552. * remove bogus regex magic that could cause a DoS
  553. * better mismatch version message
  554. 2007-12-27 11:35 Christos Zoulas <christos@astron.com>
  555. * bring back some fixes from OpenBSD
  556. * treat ELF dynamic objects as executables
  557. * fix gcc warnings
  558. 2007-12-01 19:55 Christos Zoulas <christos@astron.com>
  559. * make sure we have zlib.h and libz to compile the builtin
  560. decompress code
  561. 2007-10-28 20:48 Christos Zoulas <christos@astron.com>
  562. * float and double magic support (Behan Webster)
  563. 2007-10-28 20:48 Christos Zoulas <christos@astron.com>
  564. * Convert fortran to a soft test (Reuben Thomas)
  565. 2007-10-23 5:25 Christos Zoulas <christos@astron.com>
  566. * Add --with-filename, and --no-filename (Reuben Thomas)
  567. 2007-10-23 3:59 Christos Zoulas <christos@astron.com>
  568. * Rest of the mime split (Reuben Thomas)
  569. * Make usage message generated from the flags so that
  570. they stay consistent (Reuben Thomas)
  571. 2007-10-20 3:06 Christos Zoulas <christos@astron.com>
  572. * typo in comment, missing ifdef QUICK, remove unneeded code
  573. (Charles Longeau)
  574. 2007-10-17 3:33 Christos Zoulas <christos@astron.com>
  575. * Fix problem printing -\012 in some entries
  576. * Separate magic type and encoding flags (Reuben Thomas)
  577. 2007-10-09 3:55 Christos Zoulas <christos@astron.com>
  578. * configure fix for int64 and strndup (Reuben Thomas)
  579. 2007-09-26 4:45 Christos Zoulas <christos@astron.com>
  580. * Add magic_descriptor() function.
  581. * Fix regression in elf reading code where the core name was
  582. not being printed.
  583. * Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
  584. 2007-08-19 6:30 Christos Zoulas <christos@astron.com>
  585. * Make mime format consistent so that it can
  586. be easily parsed:
  587. mimetype [charset=character-set] [encoding=encoding-mime-type]
  588. Remove spurious extra text from some MIME type printouts
  589. (mostly in is_tar).
  590. Fix one case where -i produced nothing at all (for a 1-byte file,
  591. which is now classed as application/octet-stream).
  592. Remove 7/8bit classifications, since they were arbitrary
  593. and not based on the file data.
  594. This work was done by Reuben Thomas
  595. 2007-05-24 10:00 Christos Zoulas <christos@astron.com>
  596. * Fix another integer overflow (Colin Percival)
  597. 2007-03-26 13:58 Christos Zoulas <christos@astron.com>
  598. * make sure that all of struct magic_set is initialized appropriately
  599. (Brett)
  600. 2007-03-25 17:44 Christos Zoulas <christos@astron.com>
  601. * reset left bytes in the buffer (Dmitry V. Levin)
  602. * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
  603. (Peter Avalos)
  604. 2007-03-15 10:51 Christos Zoulas <christos@astron.com>
  605. * fix fortran and nroff reversed tests (Dmitry V. Levin)
  606. * fix exclude option (Dmitry V. Levin)
  607. 2007-02-08 17:30 Christos Zoulas <christos@astron.com>
  608. * fix integer underflow in file_printf which can lead to
  609. to exploitable heap overflow (Jean-Sebastien Guay-Lero)
  610. 2007-02-05 11:35 Christos Zoulas <christos@astron.com>
  611. * make socket/pipe reading more robust
  612. 2007-01-25 16:01 Christos Zoulas <christos@astron.com>
  613. * Centralize all the tests in file_buffer.
  614. * Add exclude flag.
  615. 2007-01-18 05:29 Anon Ymous <do@not.spam.me>
  616. * Move the "type" detection code from parse() into its own table
  617. driven routine. This avoids maintaining multiple lists in
  618. file.h.
  619. * Add an optional conditional field (ust before the type field).
  620. This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
  621. likely to go away.
  622. 2007-01-16 23:24 Anon Ymous <do@not.spam.me>
  623. * Fix an initialization bug in check_mem().
  624. 2007-01-16 14:58 Anon Ymous <do@not.spam.me>
  625. * Add a "default" type to print a message if nothing previously
  626. matched at that level or since the last default at that
  627. level. This is useful for setting up switch-like statements.
  628. It can also be used to do if/else constructions without a
  629. redundant second test.
  630. * Fix the "x" special case test so that one can test for that
  631. string with "=x".
  632. * Allow "search" to search the entire buffer if the "/N"
  633. search count is missing.
  634. * Make "regex" work! It now starts its search at the
  635. specified offset and takes an (optional) "/N" line count to
  636. specify the search range; otherwise it searches to the end
  637. of the file. The match is now grabbed correctly for format
  638. strings and the offset set to the end of the match.
  639. * Add a "/s" flag to "regex" and "search" to set the offset to
  640. the start of the match. By default the offset is set to the
  641. end of the match, as it is with other tests. This is mostly
  642. useful for "regex".
  643. * Make "search", "string" and "pstring" use the same
  644. file_strncmp() routine so that they support the same flags;
  645. "bestring16" and "lestring16" call the same routine, but
  646. with flags = 0. Also add a "/C" flag (in analogy to "/c")
  647. to ignore the case on uppercase (lowercase) characters in
  648. the test string.
  649. * Strict adherence to C style string escapes. A warnings are
  650. printed when compiling. Note: previously "\a" was
  651. incorrectly translated to 'a' instead of an <alert> (i.e.,
  652. BELL, typically 0x07).
  653. * Make this compile with "-Wall -Wextra" and all the warning
  654. flags used with WARNS=4 in the NetBSD source. Also make it
  655. pass lint.
  656. * Many "cleanups" and hopefully not too many new bugs!
  657. 2007-01-16 14:56 Anon Ymous <do@not.spam.me>
  658. * make several more files compile with gcc warnings
  659. on and also make them pass lint.
  660. 2007-01-16 14:54 Anon Ymous <do@not.spam.me>
  661. * fix a puts()/putc() usage goof in file.c
  662. * make file.c compile with gcc warnings and pass lint
  663. 2006-12-11 16:49 Christos Zoulas <christos@astron.com>
  664. * fix byteswapping issue
  665. * report the number of bytes we tried to
  666. allocate when allocation fails
  667. * add a few missed cases in the strength routine
  668. 2006-12-08 16:32 Christos Zoulas <christos@astron.com>
  669. * store and print the line number of the magic
  670. entry for debugging.
  671. * if the magic entry did not print anything,
  672. don't treat it as a match
  673. * change the magic strength algorithm to take
  674. into account the relationship op.
  675. * fix a bug in search where we could accidentally
  676. return a match.
  677. * propagate the error return from match to
  678. file_softmagic.
  679. 2006-11-25 13:35 Christos Zoulas <christos@astron.com>
  680. * Don't store the current offset in the magic
  681. struct, because it needs to be restored and
  682. it was not done properly all the time. Bug
  683. found by: Arkadiusz Miskiewicz
  684. * Fix problem in the '\0' separator; and don't
  685. print it as an additional separator; print
  686. it as the only separator.
  687. 2006-11-17 10:51 Christos Zoulas <christos@astron.com>
  688. * Added a -0 option to print a '\0' separator
  689. Etienne Buira <etienne.buira@free.fr>
  690. 2006-10-31 15:14 Christos Zoulas <christos@astron.com>
  691. * Check offset before copying (Mike Frysinger)
  692. * merge duplicated code
  693. * add quad date support
  694. * make sure that we nul terminate desc (Ryoji Kanai)
  695. * don't process elf notes multiple times
  696. * allow -z to report empty compressed files
  697. * use calloc to initialize the ascii buffers (Jos van den Oever)
  698. 2006-06-08 11:11 Christos Zoulas <christos@astron.com>
  699. * QNX fixes (Mike Gorchak)
  700. * Add quad support.
  701. * FIFO checks (Dr. Werner Fink)
  702. * Linux ELF fixes (Dr. Werner Fink)
  703. * Magic format checks (Dr. Werner Fink)
  704. * Magic format function improvent (Karl Chen)
  705. 2006-05-03 11:11 Christos Zoulas <christos@astron.com>
  706. * Pick up some elf changes and some constant fixes from SUSE
  707. * Identify gnu tar vs. posix tar
  708. * When keep going, don't print spurious newlines (Radek Vokal)
  709. 2006-04-01 12:02 Christos Zoulas <christos@astron.com>
  710. * Use calloc instead of malloc (Mike Frysinger)
  711. * Fix configure script to detect wctypes.h (Mike Frysinger)
  712. 2006-03-02 16:06 Christos Zoulas <christos@astron.com>
  713. * Print empty if the file is (Mike Frysinger)
  714. * Don't try to read past the end of the buffer (Mike Frysinger)
  715. * Sort magic entries by strength [experimental]
  716. 2005-11-29 13:26 Christos Zoulas <christos@astron.com>
  717. * Use iswprint() to convert the output string.
  718. (Bastien Nocera)
  719. 2005-10-31 8:54 Christos Zoulas <christos@astron.com>
  720. * Fix regression where the core info was not completely processed
  721. (Radek Vokal)
  722. 2005-10-20 11:15 Christos Zoulas <christos@astron.com>
  723. * Middle Endian magic (Diomidis Spinellis)
  724. 2005-10-17 11:15 Christos Zoulas <christos@astron.com>
  725. * Open with O_BINARY for CYGWIN (Corinna Vinschen)
  726. * Don't close stdin (Arkadiusz Miskiewicz)
  727. * Look for note sections in non executables.
  728. 2005-09-20 13:33 Christos Zoulas <christos@astron.com>
  729. * Don't print SVR4 Style in core files multiple times
  730. (Radek Vokal)
  731. 2005-08-27 04:09 Christos Zoulas <christos@astron.com>
  732. * Cygwin changes Corinna Vinschen
  733. 2005-08-18 09:53 Christos Zoulas <christos@astron.com>
  734. * Remove erroreous mention of /etc/magic in the file man page
  735. This is gentoo bug 101639. (Mike Frysinger)
  736. * Cross-compile support and detection (Mike Frysinger)
  737. 2005-08-12 10:17 Christos Zoulas <christos@astron.com>
  738. * Add -h flag and dereference symlinks if POSIXLY_CORRECT
  739. is set.
  740. 2005-07-29 13:57 Christos Zoulas <christos@astron.com>
  741. * Avoid search and regex buffer overflows (Kelledin)
  742. 2005-07-12 11:48 Christos Zoulas <christos@astron.com>
  743. * Provide stub implementations for {v,}nsprintf() for older
  744. OS's that don't have them.
  745. * Change mbstate_t autoconf detection macro from AC_MBSTATE_T
  746. to AC_TYPE_MBSTATE_T.
  747. 2005-06-25 11:48 Christos Zoulas <christos@astron.com>
  748. * Dynamically allocate the string buffers and make the
  749. default read size 256K.
  750. 2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
  751. * Dragonfly ELF note support
  752. 2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
  753. * Avoid NULL pointer dereference in time conversion.
  754. 2005-03-06 00:00 Joerg Walter <jwalt@mail.garni.ch>
  755. * Add indirect magic offset support, and search mode.
  756. 2005-01-12 00:00 Stepan Kasal <kasal@ucw.cz>
  757. * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
  758. If a CRLF text file happens to have CR at offset HOWMANY - 1
  759. (currently 0xffff), it should not be counted as CR line
  760. terminator.
  761. If a line has length exactly MAXLINELEN, it should not yet be
  762. treated as a ``very long line'', as MAXLINELEN is ``longest sane
  763. line length''.
  764. With CRLF, the line length was not computed correctly, and even
  765. lines of length MAXLINELEN - 1 were treated as ``very long''.
  766. 2004-12-07 14:15 Christos Zoulas <christos@astron.com>
  767. * bzip2 needs a lot of input buffer space on some files
  768. before it can begin uncompressing. This makes file -z
  769. fail on some bz2 files. Fix it by giving it a copy of
  770. the file descriptor to read as much as it wants if we
  771. have access to it. <christos@astron.com>
  772. 2004-11-24 12:39 Christos Zoulas <christos@astron.com>
  773. * Stack smash fix, and ELF more conservative reading.
  774. Jakub Bogusz <qboosh@pld-linux.org>
  775. 2004-11-20 18:50 Christos Zoulas <christos@astron.com>
  776. * New FreeBSD version parsing code:
  777. Jon Noack <noackjr@alumni.rice.edu>
  778. * Hackish support for ucs16 strings <christos@astron.com>
  779. 2004-11-13 03:07 Christos Zoulas <christos@astron.com>
  780. * print the file name and line number in syntax errors.
  781. 2004 10-12 10:50 Christos Zoulas <christos@astron.com>
  782. * Fix stack overwriting on 0 length strings: Tim Waugh
  783. <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
  784. 2004-09-27 11:30 Christos Zoulas <christos@astron.com>
  785. * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
  786. * Fix small memory leaks; caught by: Tamas Sarlos
  787. <stamas@csillag.ilab.sztaki.hu>
  788. 2004-07-24 16:33 Christos Zoulas <christos@astron.com>
  789. * magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
  790. * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
  791. * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
  792. * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
  793. 2004-04-12 10:55 Christos Zoulas <christos@astron.com>
  794. * make sure that magic formats match magic types during compilation
  795. * fix broken sgi magic file
  796. 2004-04-06 20:36 Christos Zoulas <christos@astron.com>
  797. * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
  798. * magic fixes
  799. 2004-03-22 15:25 Christos Zoulas <christos@astron.com>
  800. * Lots of mime fixes
  801. (Joerg Ostertag) <ostertag@rechengilde.de>
  802. * FreeBSD ELF version handling
  803. (Edwin Groothuis) <edwin@mavetju.org>
  804. * correct cleanup in all cases; don't just close the file.
  805. (Christos Zoulas) <christos@astron.com>
  806. * add gettext message catalogue support
  807. (Michael Piefel) <piefel@debian.org>
  808. * better printout for unreadable files
  809. (Michael Piefel) <piefel@debian.org>
  810. * compensate for missing MAXPATHLEN
  811. (Michael Piefel) <piefel@debian.org>
  812. * add wide character string length computation
  813. (Michael Piefel) <piefel@debian.org>
  814. * Avoid infinite loops caused by bad elf alignments
  815. or name and description note sizes. Reported by
  816. (Mikael Magnusson) <mmikael@comhem.se>
  817. 2004-03-09 13:55 Christos Zoulas <christos@astron.com>
  818. * Fix possible memory leak on error and add missing regfree
  819. (Dmitry V. Levin) <ldv@altlinux.org>
  820. 2003-12-23 12:12 Christos Zoulas <christos@astron.com>
  821. * fix -k flag (Maciej W. Rozycki)
  822. 2003-11-18 14:10 Christos Zoulas <christos@astron.com>
  823. * Try to give us much info as possible on corrupt elf files.
  824. (Willy Tarreau) <willy@w.ods.org>
  825. * Updated python bindings (Brett Funderburg)
  826. <brettf@deepfile.com>
  827. 2003-11-11 15:03 Christos Zoulas <christos@astron.com>
  828. * Include file.h first, because it includes config.h
  829. breaks largefile test macros otherwise.
  830. (Paul Eggert <eggert@CS.UCLA.EDU> via
  831. Lars Hecking <lhecking@nmrc.ie>)
  832. 2003-10-14 21:39 Christos Zoulas <christos@astron.com>
  833. * Python bindings (Brett Funderburg) <brettf@deepfile.com>
  834. * Don't lookup past the end of the buffer
  835. (Chad Hanson) <chanson@tcs-sec.com>
  836. * Add MAGIC_ERROR and api on magic_errno()
  837. 2003-10-08 12:40 Christos Zoulas <christos@astron.com>
  838. * handle error conditions from compile as fatal
  839. (Antti Kantee) <pooka@netbsd.org>
  840. * handle magic filename parsing sanely
  841. * more magic fixes.
  842. * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
  843. * describe magic file handling
  844. (Bryan Henderson) <bryanh@giraffe-data.com>
  845. 2003-09-12 15:09 Christos Zoulas <christos@astron.com>
  846. * update magic files.
  847. * remove largefile support from file.h; it breaks things on most OS's
  848. 2003-08-10 10:25 Christos Zoulas <christos@astron.com>
  849. * fix unmapping'ing of mmaped files.
  850. 2003-07-10 12:03 Christos Zoulas <christos@astron.com>
  851. * don't exit with -1 on error; always exit 1 (Marty Leisner)
  852. * restore utimes code.
  853. 2003-06-10 17:03 Christos Zoulas <christos@astron.com>
  854. * make sure we don't access uninitialized memory.
  855. * pass lint
  856. * #ifdef __cplusplus in magic.h
  857. 2003-05-25 19:23 Christos Zoulas <christos@astron.com>
  858. * rename cvs magic file to revision to deal with
  859. case insensitive filesystems.
  860. 2003-05-23 17:03 Christos Zoulas <christos@astron.com>
  861. * documentation fixes from Michael Piefel <piefel@debian.org>
  862. * magic fixes (various)
  863. * revert basename magic in .mgc name determination
  864. * buffer protection in uncompress,
  865. signness issues,
  866. close files
  867. Maciej W. Rozycki <macro@ds2.pg.gda.pl
  868. 2003-04-21 20:12 Christos Zoulas <christos@astron.com>
  869. * fix zsh magic
  870. 2003-04-04 16:59 Christos Zoulas <christos@astron.com>
  871. * fix operand sort order in string.
  872. 2003-04-02 17:30 Christos Zoulas <christos@astron.com>
  873. * cleanup namespace in magic.h
  874. 2003-04-02 13:50 Christos Zoulas <christos@astron.com>
  875. * Magic additions (Alex Ott)
  876. * Fix bug that broke VPATH compilation (Peter Breitenlohner)
  877. 2003-03-28 16:03 Christos Zoulas <christos@astron.com>
  878. * remove packed attribute from magic struct.
  879. * make the magic struct properly aligned.
  880. * bump version number of compiled files to 2.
  881. 2003-03-27 13:10 Christos Zoulas <christos@astron.com>
  882. * separate tar detection and run it before softmagic.
  883. * fix reversed symlink test.
  884. * fix version printing.
  885. * make separator a string instead of a char.
  886. * update manual page and sort options.
  887. 2003-03-26 11:00 Christos Zoulas <christos@astron.com>
  888. * Pass lint
  889. * make NULL in magic_file mean stdin
  890. * Fix "-" argument to file to pass NULL to magic_file
  891. * avoid pointer casts by using memcpy
  892. * rename magic_buf -> magic_buffer
  893. * keep only the first error
  894. * manual page: new sentence, new line
  895. * fix typo in api function (magic_buf -> magic_buffer)