Summary: | Kleopatra crashes when trying to work with files with more than 2^31 bytes | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | Andre Heinecke <aheinecke> |
Component: | general | Assignee: | Andre Heinecke <aheinecke> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mutz |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kleopatra/26bcc69d99a47435a05d056e5aa37c597c815a31 | Version Fixed In: | |
Sentry Crash Report: |
Description
Andre Heinecke
2013-05-03 15:37:36 UTC
With GnuPG 2.1.14 came a fix yesterday for https://bugs.gnupg.org/gnupg/issue2368 Now GnuPG ensures that progress will fit into ints. But progress can no longer be mapped to bytes as Kleopatra does. So the fix will be if gnupg < 2.1.14 just show knight rider progress and fix the setting of total progress. For GnuPG 2.1.14 ignore size and only use total + processed. Git commit 26bcc69d99a47435a05d056e5aa37c597c815a31 by Andre Heinecke. Committed on 21/07/2016 at 09:53. Pushed by aheinecke into branch 'Applications/16.08'. Workaround crash / assert due to progress overflow This is not the fix I wanted to have as it still does not show the real progress. But previously there also wasn't any progress so this is not a regression and it fixes a crash. See BKO 365931 for an outline of a proper fix that actually shows progress. Related: bug 365931 M +17 -4 src/crypto/gui/newresultpage.cpp http://commits.kde.org/kleopatra/26bcc69d99a47435a05d056e5aa37c597c815a31 |