ChangeLog 43 KB

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