Bug 498600 - Failure decoding large 7zip file
Summary: Failure decoding large 7zip file
Status: REPORTED
Alias: None
Product: frameworks-karchive
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.9.0
Platform: unspecified macOS
: NOR major
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-13 12:54 UTC by maddimax
Modified: 2025-01-13 12:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description maddimax 2025-01-13 12:54:09 UTC
STEPS TO REPRODUCE
1. Open https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_19.1.0-based-windows-vs2019_64.7z with `K7Zip::open()`
2. Call `(K7Zip*)archive->directory()->copyTo("/tmp");`
3. Wait for it to run into a Q_ASSERT in `KArchiveFile::copyTo`

OBSERVED RESULT

Assert(n == currentChunkSize)

EXPECTED RESULT

No errors / asserts etc.

SOFTWARE/OS VERSIONS
macOS: 15.2 
Qt Version: 6.8.1