ChangeLog 63 KB

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