ChangeLog 45 KB

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