Bug 362349 - ASSERT: "m_signaturePart.isValid()" in file /home/jkt/work/prog/trojita/src/Cryptography/GpgMe++.cpp, line 574
Summary: ASSERT: "m_signaturePart.isValid()" in file /home/jkt/work/prog/trojita/src/C...
Status: RESOLVED FIXED
Alias: None
Product: trojita
Classification: Applications
Component: Cryptography (other bugs)
Version First Reported In: git
Platform: Compiled Sources All
: NOR crash
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 11:22 UTC by Jan Kundrát
Modified: 2016-05-04 08:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát 2016-04-27 11:22:47 UTC
The fix is trivial, just moving the asserts around, but I'm filing a bug because I want this covered by a test and ENOTIME right now.
Comment 1 Jan Kundrát 2016-05-04 08:16:25 UTC
Git commit ee199991f4b774d50507f5465f64d9f1bd6ee0d3 by Jan Kundrát.
Committed on 29/04/2016 at 18:53.
Pushed by gerrit into branch 'master'.

Do not assert crash on signed e-mails with some parts stripped down
Change-Id: I6d47945fe6e2d468355507ef3e128a1a26a839ed

M  +2    -2    src/Cryptography/GpgMe++.cpp
M  +76   -0    tests/Cryptography/test_Cryptography_PGP.cpp
M  +2    -0    tests/Cryptography/test_Cryptography_PGP.h

http://commits.kde.org/trojita/ee199991f4b774d50507f5465f64d9f1bd6ee0d3