- Update to file version 5.22 (also related to bsc#913650 and bsc#913651)
* add indirect relative for TIFF/Exif
* restructure elf note printing to avoid repeated messages
* add note limit, suggested by Alexander Cherepanov
* Bail out on partial pread()'s (Alexander Cherepanov)
* Fix incorrect bounds check in file_printable (Alexander Cherepanov)
* PR/405: ignore SIGPIPE from uncompress programs
* change printable -> file_printable and use it in
more places for safety
* in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
is present print the interpreter name.
- Patch file-5.18-elf.dif is modified and renamed to file-5.22-elf.dif
- Patch file-5.20.dif s modified and renamed to file-5.22.dif
- adapt version in specfile to 5.22
OBS-URL: https://build.opensuse.org/request/show/282049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=88
- Drop patch file-5.20-CVE-2014-3710.patch as now part of upstream
- Update to file version 5.21
* Fix CVE-2014-8116 and CVE-2014-8117 (bsc#910252 and bsc#910253)
* there was an incorrect free in magic_load_buffers()
* there was an out of bounds read for some pascal strings
* there was a memory leak in magic lists
* don't interpret strings printed from files using the current
locale, convert them to ascii format first.
* there was an out of bounds read in elf note reads
* fix MacOS/X locale.h vs. xlocale.h issues
- Add patch file-5.20-CVE-2014-3710.patch to fic bsc#902367
CVE-2014-3710: file: out-of-bounds read in elf note headers
- adapt version in specfile to 5.21
OBS-URL: https://build.opensuse.org/request/show/265566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=86
- Update to file version 5.20
* recognize encrypted CDF documents
* add magic_load_buffers from Brooks Davis
* add thumbs.db support
- Remove file-5.07-iso9660.dif as now upstream
- Remove file-5.19-gdbm.patch as now upstream
- Adapt and rename file-5.18-endian.patch to file-5.20-endian.patch
- Adapt and rename file-5.19.dif file-5.20.dif
- adapt version in specfile to 5.20
OBS-URL: https://build.opensuse.org/request/show/255754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=85
- Update to file version 5.19
* Misc buffer overruns and missing buffer size tests in cdf parsing
(Francisco Alonso, Jan Kaluza)
* 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.
* Make the range operator limit the length of the
regex search.
* PR/347: Windows fixes
* PR/352: Hangul word processor recognition
* PR/354: Encoding irregularities in text files
* Fix uninitialized title in CDF files (Jan Kaluza)
* PR/351: Fix compilation of empty files
* 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.
* PR/341: Jan Kaluza, fix memory leak
* PR/342: Jan Kaluza, fix out of bounds read
* Fix issue with long formats not matching fmtcheck
- Rename and change patch file-5.14-misc.dif to file-5.19-misc.dif
- Rename and change patch file-5.14-printf.dif to file-5.19-printf.dif
- Rename and change patch file-5.07-biorad.dif to file-5.19-biorad.dif
- Rename and change patch file-5.19.dif to file-5.17.dif
- Rename and change patch file-4.24-cromfs.dif to file-5.19-cromfs.dif
- Rename and change patch file-4.24-solv.dif to file-5.19-solv.dif
- Rename and change patch file-5.12-zip2.0.dif to file-5.19-zip2.0.dif
OBS-URL: https://build.opensuse.org/request/show/238593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=82
- Update to file version 5.16 (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)
- Make it ready for file 5.16
- Make it ready for file 5.15
OBS-URL: https://build.opensuse.org/request/show/209187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=77
- Add changes of Andreas Stieger
- Update to file version 5.15 (bug fix release, no new featuress)
* Don't mix errors and regular output if there was an error
* in magic_descriptor() don't close the file and try to restore
its position
* Don't treat magic as an error if offset was past EOF (Christoph Biedl)
* Fix spacing issues in softmagic and elf (Jan Kaluza)
* Fix segmentation fault with multiple magic_load commands.
* The way "default" was implemented was not very useful because
the "if something was printed at that level" was not easily
controlled by the user, and the format was bound to a string
which is too restrictive. Add a "clear" for that level keyword
and make "default" void.
* disallow strength setting in "name" entries
- Adjust for upstream changes:
* file-5.14-tex.dif
* file-5.07-elf.dif
* file-5.12-ocloexec.patch
* file-5.12-nitpick.dif
* file-5.13.dif
- Drop patches, applied upstream:
* file-5.13-whitespace.patch
* elf-invalid-byte-order.patch
- add file-5.15-clear-invalid.patch to fix an invalid format
- Make if ready for file 5.15
OBS-URL: https://build.opensuse.org/request/show/201588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=75
- Add patch file-5.13-return.patch: avoid doubled return
- Update to file version 5.13 (mainly bug fixes)
* add elf reading of debug info to determine if file is stripped
* use pread()
* change mime description size from 64 to 80 to accommodate OOXML.
* Warn about inconsistent continuation levels.
* Change fsmagic to add a space after it prints.
* Make getline public so that file can link against it.
Perhaps it is better to rename it, or hide it differently.
Fixes builds on platforms that do not provide it.
* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
what long, int, short, etc is (Guy Harris)
* add magic_version function and constant
* Redo memory allocation and de-allocation.
(prevents double frees on non mmap platforms)
* Fix bug with name/use having to do with passing
found state from the parent to the child and back.
OBS-URL: https://build.opensuse.org/request/show/156456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/file?expand=0&rev=69