SOGo | BTS

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004745SOGoWeb Mailpublic2019-05-10 18:142019-05-23 09:25
Reporterschmirl 
Assigned Toludovic 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.0.7 
Target VersionFixed in Version4.0.8 
Summary0004745: Segfaults in S/MIME code
DescriptionI get a segfault when trying to open an encrypted mail in the WebUI which can't be decrypted with my key. Some functions in NSData+SMIME.m return an uninitialized pointer instead of NULL in case of an error. Patch attached.
Steps To ReproduceTry to open an encrypted mail you have no key for.
Additional InformationThe patch initializes "output" where it's defined.

In two functions, "output" had been initialized correctly several lines below its definition. I changed these, too. I think its clearer this way.
TagsNo tags attached.
Attached Filespatch file icon SOGo-initialize_output.patch [^] (1,397 bytes) 2019-05-10 18:14 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Related Changesets
sogo: master 29f5357a
Timestamp: 2019-05-23 09:21:44
Author: ludovic
Details ] Diff ]
(fix) added safety checks in S/MIME (fixes 0004745)
mod - NEWS Diff ] File ]
mod - SoObjects/Mailer/NSData+SMIME.m Diff ] File ]

- Issue History
Date Modified Username Field Change
2019-05-10 18:14 schmirl New Issue
2019-05-10 18:14 schmirl File Added: SOGo-initialize_output.patch
2019-05-23 09:25 ludovic Changeset attached => sogo master 29f5357a
2019-05-23 09:25 ludovic Assigned To => ludovic
2019-05-23 09:25 ludovic Resolution open => fixed
2019-05-23 09:25 ludovic Status new => resolved
2019-05-23 09:25 ludovic Fixed in Version => 4.0.8


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker