History log of /netbsd-src/external/bsd/file/dist/magic/magdir/cad (Results 1 – 15 of 15)
Revision Date Author Comments
# ddb17682 18-Aug-2023 christos <christos@NetBSD.org>

merge conflicts between file-5.43 and file-5.45


# 1d4cb158 24-Sep-2022 christos <christos@NetBSD.org>

merge changes between 5.40 and 5.43


# d87b0039 09-Apr-2021 christos <christos@NetBSD.org>

merge local changes between 5.39 and 5.40 and add magic entries from HEAD.


# 25f16eea 09-Apr-2021 christos <christos@NetBSD.org>

2021-03-30 20:21 Christos Zoulas <christos@zoulas.com>

* release 5.40

2021-02-05 16:31 Christos Zoulas <christos@zoulas.com>

* PR/234: Add limit to the number of bytes to scan for encoding

2021-03-30 20:21 Christos Zoulas <christos@zoulas.com>

* release 5.40

2021-02-05 16:31 Christos Zoulas <christos@zoulas.com>

* PR/234: Add limit to the number of bytes to scan for encoding
* PR/230: Fix /T (trim flag) for regex

2021-02-01 12:31 Christos Zoulas <christos@zoulas.com>
* PR/77: Trim trailing separator.

2020-12-17 15:44 Christos Zoulas <christos@zoulas.com>

* PR/211: Convert system read errors from corrupt ELF
files into human readable error messages

2020-12-08 16:24 Christos Zoulas <christos@zoulas.com>

* fix multithreaded decompression file descriptor issue
by using close-on-exec (Denys Vlasenko)

2020-06-27 11:58 Christos Zoulas <christos@zoulas.com>

* Exclude surrogate pairs from utf-8 detection (Michael Liu)

2020-06-25 12:53 Christos Zoulas <christos@zoulas.com>

* Include # to the list of ignored format chars (Werner Fink)

show more ...


# 03c288bb 15-Jun-2020 christos <christos@NetBSD.org>

Import 5.39:

* Remove unused subtype_mime (Steve Grubb)
* Remove unused check in okstat (Steve Grubb)
* Fix mime-type in elf binaries by making sure $x is set
* Fix indirect negative off

Import 5.39:

* Remove unused subtype_mime (Steve Grubb)
* Remove unused check in okstat (Steve Grubb)
* Fix mime-type in elf binaries by making sure $x is set
* Fix indirect negative offsets broken by OFFNEGATIVE
* Fix GUID equality check
* PR/165: Handle empty array and strings in JSON
* PR/162: Add --exclude-quiet
* Fix memory leak in ascmagic (Steve Grubb)
* Fix string comparison length with ignore whitespace
* Fix mingwin 64 compilation
* PR/159: whitelist getpid needed for file_pipe2file()
* Indicate negative offsets with a flag OFFNEGATIVE
so that -0 works.
* Introduce "offset" magic type that can be used to
detect the file size, and bail on short files.
* document DER better in the magic man page.
* fix memory leaks (SonarQube)
* rewrite confusing loops (SonarQube)
* fix bogus test (SonarQube)
* pass a sized buffer to file_fmttime() (SonarQube)
* Don't allow * in printf formats, or the code itself (Christoph Biedl)
* Introduce a printf output size checker to avoid DoS attacks
* Avoid memory leak on error (oss-fuzz)
* Check length of string on DER before derefercing and add new types
* Add missing DER string (oss-fuzz)
* Add missing DER types, and debugging
* PR/140: Avoid abort with hand-crafted magic file (gockelhahn)
* PR/139: Avoid DoS in printf with hand-crafted magic file (gockelhahn)
* PR/138: Avoid crash with hand-crafted magic file (gockelhahn)
* PR/136: Fix static build by adding a libmagic.pc (Fabrice Fontaine)
* add guid support native support via the "guid" type.

show more ...


# eff51ed2 17-Dec-2019 christos <christos@NetBSD.org>

Import 5.38:
- Always accept -S (no sandbox) even if we don't support sandboxing
- More syscalls elided for sandboxiing
- For ELF dynamic means having an interpreter not just PT_DYNAMIC
- Check f

Import 5.38:
- Always accept -S (no sandbox) even if we don't support sandboxing
- More syscalls elided for sandboxiing
- For ELF dynamic means having an interpreter not just PT_DYNAMIC
- Check for large ELF session header offset
- When saving and restoring a locale, keep the locale name in our
own storage.
- Add a flag to disable CSV file detection.
- Don't pass NULL/0 to memset to appease sanitizers.
- Avoid spurious prints when looks for extensions or apple strings
in fsmagic.
- Add builtin decompressors for xz and and bzip.
- Add a limit for the number of CDF elements.
- More checks for overflow in CDF.

show more ...


# dc958920 22-May-2019 christos <christos@NetBSD.org>

2019-05-14 22:26 Christos Zoulas <christos@zoulas.com>

* release 5.37

2019-05-09 22:27 Christos Zoulas <christos@zoulas.com>

* Make sure that continuation separators are printed
with -k w

2019-05-14 22:26 Christos Zoulas <christos@zoulas.com>

* release 5.37

2019-05-09 22:27 Christos Zoulas <christos@zoulas.com>

* Make sure that continuation separators are printed
with -k within softmagic

2019-05-06 22:27 Christos Zoulas <christos@zoulas.com>

* Change SIGPIPE saving and restoring during compression to use
sigaction(2) instead of signal(3) and cache it. (Denys Vlasenko)
* Cache stat(2) calls more to reduce number of calls (Denys Vlasenko)

2019-05-06 17:25 Christos Zoulas <christos@zoulas.com>

* PR/77: Handle --mime-type and -k correctly.

2019-05-03 15:26 Christos Zoulas <christos@zoulas.com>

* Switch decompression code to use vfork() because
tools like rpmdiff and rpmbuild call libmagic
with large process footprints (Denys Vlasenko)

2019-04-07 14:05 Christos Zoulas <christos@zoulas.com>

* PR/75: --enable-zlib, did not work.

2019-02-27 11:54 Christos Zoulas <christos@zoulas.com>

* Improve regex efficiency (Michael Schroeder) by:
1. Prefixing regex searches with regular search
for keywords where possible
2. Using memmem(3) where available

show more ...


# 006f8008 18-Oct-2018 christos <christos@NetBSD.org>

2018-10-18 19:32 Christos Zoulas <christos@zoulas.com>

* release 5.35

2018-09-10 20:38 Christos Zoulas <christos@zoulas.com>

* Add FreeBSD ELF core file support (John Baldwin)

2018-08-20 1

2018-10-18 19:32 Christos Zoulas <christos@zoulas.com>

* release 5.35

2018-09-10 20:38 Christos Zoulas <christos@zoulas.com>

* Add FreeBSD ELF core file support (John Baldwin)

2018-08-20 18:40 Christos Zoulas <christos@zoulas.com>

* PR/30: Allow all parameter values to be set (don't treat 0 specially)
* handle default annotations on the softmagic match instead at the
end.

2018-07-25 10:17 Christos Zoulas <christos@zoulas.com>

* PR/23: Recognize JSON files

2018-07-25 10:17 Christos Zoulas <christos@zoulas.com>

* PR/18: file --mime-encoding should not print mime-type

2018-07-25 8:50 Christos Zoulas <christos@zoulas.com>

* release 5.34

2018-06-22 16:38 Christos Zoulas <christos@zoulas.com>

* Add Quad indirect offsets

2018-05-24 14:10 Christos Zoulas <christos@zoulas.com>

* Enable parsing of ELF dynamic sections to handle PIE better

show more ...


# 41da50d8 08-Sep-2017 christos <christos@NetBSD.org>

2017-09-02 11:53 Christos Zoulas <christos@zoulas.com>

* release 5.32

2017-08-28 16:37 Christos Zoulas <christos@zoulas.com>

* Always reset state in {file,buffer}_apprentice (Krzysztof Wilcz

2017-09-02 11:53 Christos Zoulas <christos@zoulas.com>

* release 5.32

2017-08-28 16:37 Christos Zoulas <christos@zoulas.com>

* Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)

2017-08-27 03:55 Christos Zoulas <christos@zoulas.com>

* Fix always true condition (Thomas Jarosch)

2017-05-24 17:30 Christos Zoulas <christos@zoulas.com>

* pickier parsing of numeric values in magic files.

2017-05-23 17:55 Christos Zoulas <christos@zoulas.com>

* PR/615 add magic_getflags()

2017-05-23 13:55 Christos Zoulas <christos@zoulas.com>

* release 5.31

2017-03-17 20:32 Christos Zoulas <christos@zoulas.com>

* remove trailing spaces from magic files
* refactor is_tar
* better bounds checks for cdf

show more ...


# 008b33e8 24-May-2017 christos <christos@NetBSD.org>

Import file-5.31; mostly oss-fuzz found bugs.


# 012fd133 13-Jun-2014 christos <christos@NetBSD.org>

import file-5.19

2014-06-09 9:04 Christos Zoulas <christos@zoulas.com>

* Misc buffer overruns and missing buffer size tests in cdf parsing
(Francisco Alonso, Jan Kaluza)

2014-06-02 14:50

import file-5.19

2014-06-09 9:04 Christos Zoulas <christos@zoulas.com>

* Misc buffer overruns and missing buffer size tests in cdf parsing
(Francisco Alonso, Jan Kaluza)

2014-06-02 14:50 Christos Zoulas <christos@zoulas.com>

* Enforce limit of 8K on regex searches that have no limits
* Allow the l modifier for regex to mean line count. Default
to byte count. If line count is specified, assume a max
of 80 characters per line to limit the byte count.
* Don't allow conversions to be used for dates, allowing
the mask field to be used as an offset.

2014-05-30 12:51 Christos Zoulas <christos@zoulas.com>

* Make the range operator limit the length of the
regex search.

2014-05-14 19:23 Christos Zoulas <christos@zoulas.com>

* PR/347: Windows fixes
* PR/352: Hangul word processor recognition
* PR/354: Encoding irregularities in text files

2014-05-06 6:12 Christos Zoulas <christos@zoulas.com>

* Fix uninitialized title in CDF files (Jan Kaluza)

2014-05-04 14:55 Christos Zoulas <christos@zoulas.com>

* PR/351: Fix compilation of empty files

2014-04-30 17:39 Christos Zoulas <christos@zoulas.com>

* Fix integer formats: We don't specify 'l' or
'h' and 'hh' specifiers anymore, only 'll' for
quads and nothing for the rest. This is so that
magic writing is simpler.

2014-04-01 15:25 Christos Zoulas <christos@zoulas.com>

* PR/341: Jan Kaluza, fix memory leak
* PR/342: Jan Kaluza, fix out of bounds read

2014-03-28 15:25 Christos Zoulas <christos@zoulas.com>

* Fix issue with long formats not matching fmtcheck

show more ...


# 8df916c0 01-Dec-2013 christos <christos@NetBSD.org>

from ftp.astron.com, this is a bug fix release:
* always leave magic file loaded, don't unload for magic_check, etc.
* fix default encoding to binary instead of unknown which broke rece

from ftp.astron.com, this is a bug fix release:
* always leave magic file loaded, don't unload for magic_check, etc.
* fix default encoding to binary instead of unknown which broke recently
* handle empty and one byte files, less specially so that
--mime-encoding does not break completely.
* fix erroneous non-zero exit code from non-existant file and message
* add CDF MSI file detection (Guy Helmer)

show more ...


# f50962bc 22-Feb-2012 christos <christos@NetBSD.org>

from ftp.astron.com, CDF security fixes


# 5ccaa8c0 12-May-2011 christos <christos@NetBSD.org>

from ftp.astron.com.
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more ma

from ftp.astron.com.
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more magic

show more ...


# 1b108b8b 08-May-2009 christos <christos@NetBSD.org>

from ftp.astron.com