[kleopatra] [Bug 319281] New: Kleopatra crashes when trying to work with files with more than 2^31 bytes

Andre Heinecke aheinecke at intevation.de
Fri May 3 16:37:36 BST 2013


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

            Bug ID: 319281
           Summary: Kleopatra crashes when trying to work with files with
                    more than 2^31 bytes
    Classification: Unclassified
           Product: kleopatra
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: aheinecke at intevation.de
                CC: mutz at kde.org

If you do something with a large enough file Kleopatra crashes.


Reproducible: Always

Steps to Reproduce:
1. dd if=/dev/zero of=output.dat  bs=1024  count=4200000
2. kleopatra -s output.dat
3. klick through the signing dialog
Actual Results:  
Crash

Expected Results:  
No Crash

This bug is pretty straightforward as an overflow happens in the progressbar.

Kleo::Crypto::Gui::NewResultPage::Private::progress(const QString&, int, int)")
at assert.c:81
#9  0x00000000005de161 in Kleo::Crypto::Gui::NewResultPage::Private::progress
(this=0x1669290, msg=..., progress=-2147483648, total=5832704) at

I'm using the tracker to document the bug / fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list