| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-04-03 | Properly handle an exception | jvoisin | |
| ``` Traceback (most recent call last): File "/builds/jvoisin/mat2/tests/test_deep_cleaning.py", line 147, in test_office meta = p.get_meta() File "/builds/jvoisin/mat2/libmat2/archive.py", line 155, in get_meta zin.extract(member=item, path=temp_folder) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/zipfile/__init__.py", line 1762, in extract return self._extract_member(member, path, pwd) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/zipfile/__init__.py", line 1829, in _extract_member os.makedirs(upperdirs, exist_ok=True) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen os>", line 227, in makedirs OSError: [Errno 28] No space left on device: '/tmp/tmptl1ibyv6/word/theme' ``` This should never happen™, but just in case… | |||
| 2023-11-13 | parsers: Inherit the sandbox option when creating additional parsers | Romain Vigier | |
| 2023-07-11 | Harden get_meta in archive.py against variants of CVE-2022-35410 | Jason Smalls | |
| 2023-05-03 | Use proper type annotations instead of comments | jvoisin | |
| 2023-05-03 | Make use of is_dir/isdir for archives | jvoisin | |
| 2023-01-28 | Another typing pass | jvoisin | |
| 2023-01-28 | Fix the type annotations | jvoisin | |
| 2022-11-21 | Remove pyflakes | jvoisin | |
| Isn't borderline useless compared to mypy and pylint | |||
| 2022-10-09 | Remove deprecated pylint checks | jvoisin | |
| 2022-08-28 | Simplify the typing annotations | jvoisin | |
| 2022-07-05 | Prevent arbitrary file read via zip archives | jvoisin | |
| A zip file with a file pointing to /etc/passwd would, upon being cleaned by mat2, produce a file with the filesystem's /etc/passwd file. | |||
| 2022-07-05 | Show a scary message in case of path traversal attempt | jvoisin | |
| 2022-05-05 | Minor cleanup | jvoisin | |
| 2021-12-13 | Make libmat2 more robust against corrupted zip files | jvoisin | |
| 2021-12-09 | Please the linters wrt. the previous commit | jvoisin | |
| 2021-12-08 | zip archives: keep individual files compression type | Denis 'GNUtoo' Carikli | |
| While hardcoding the compression to zipfile.ZIP_DEFLATED works for most use cases of mat, being able to produce cleaned up uncompressed zip files is useful for content that cannot be compressed more. In addition it also enables to use mat2 for reproducible builds of Android bootanimation files file that don't support compression. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | |||
| 2021-11-23 | Make the linter happier | jvoisin | |
| 2020-03-08 | Vastly improve ppt compatibility | jvoisin | |
| 2019-11-30 | This is mat2, not MAT2 | georg | |
| Closes #131 | |||
| 2019-10-12 | Remove a useless `\` | jvoisin | |
| 2019-10-12 | Replace abstractstaticmethod with abstractmethod | jvoisin | |
| Apparently, abstractstaticmethod is deprecated since python3.3. | |||
| 2019-09-01 | Mark a comment as FP | jvoisin | |
| 2019-07-20 | Fix mypy | jvoisin | |
| 2019-07-13 | Compress cleaned zip archives by default | jvoisin | |
| 2019-05-01 | Add some verification for "dangerous" tarfiles | jvoisin | |
| 2019-04-27 | Handle weird permissions in tar archives | jvoisin | |
| 2019-04-27 | Improve the display of tarfile's members mtime | jvoisin | |
| 2019-04-27 | Add support for compressed tar files | jvoisin | |
| 2019-04-27 | Add tar archive support | jvoisin | |
| 2019-02-25 | Document the previous commit | jvoisin | |
| 2019-02-24 | In archive-based formats, the `mimetype` file comes first | jvoisin | |
| This should improve epub compatibility, along with other formats as a side-effect | |||
| 2019-02-04 | Refactor a bit office get_meta handling | jvoisin | |
| This should make easier to get more metadata from archive-based file formats. | |||
| 2019-02-03 | Whenever possible, use bwrap for subprocesses | intrigeri | |
| This should closes #90 | |||
| 2018-10-25 | Add support for zip files | jvoisin | |
| 2018-10-25 | Improve archive-based parser's robustness against corrupted embedded files | jvoisin | |
| 2018-10-25 | Implement get_meta() for archives | jvoisin | |
| 2018-10-12 | Bump mypy typing coverage | jvoisin | |
| 2018-10-03 | Improve mat2's cli reliability | jvoisin | |
| - Replace some class members by instance members - Don't thread the cleaning process anymore for now | |||
| 2018-10-02 | Use [Content_Types].xml to improve MS Office coverage | jvoisin | |
| 2018-09-24 | Second pass of minor formatting | jvoisin | |
| 2018-09-24 | Fix some minor formatting issues | jvoisin | |
| 2018-09-18 | Insert archive members in lexicographic order | jvoisin | |
| 2018-09-06 | Make pylint happy | jvoisin | |
| 2018-09-06 | Split office and archives | jvoisin | |
