ChangeLog 40 KB

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