ChangeLog 57 KB

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