https://bugs.kde.org/show_bug.cgi?id=509201

--- Comment #1 from Azhar Momin <[email protected]> ---
Another problem I observed: when creating a 7z archive with the BCJ2 filter
using small text content (instead of a binary), extraction does not crash but
produces an incomplete file with extra garbage data prepended, this may or may
not be the same problem:

➜  Testing echo 'Hello, World!' | 7z a 7z_coder_test_bcj2.7z -m0=bcj2 -m1=lzma2
-m2=lzma2 -m3=lzma2 -sihello.txt

7-Zip (z) 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29
 64-bit locale=en_US.UTF-8 Threads:8 OPEN_MAX:524288, ASM

Creating archive: 7z_coder_test_bcj2.7z

Add new data to archive: 1 file


Files read from disk: 1
Archive size: 185 bytes (1 KiB)
Everything is Ok
➜  Testing ./build/karchivetest 7z_coder_test_bcj2.7z
Archive directory copied successfully
➜  Testing xxd out/hello.txt
00000000: 0100 1101 000d 4865 6c6c 6f2c 2057       ......Hello, W

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to