ChangeLog 60 KB

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