ChangeLog 45 KB

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