Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
kdepim4
r890884.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r890884.diff of Package kdepim4
Subject: kmail: fix out of range in parsing mail bug From: wstephenson@suse.de Bug: Patch-upstream: 890884 --- kmail/kmmsgbase.cpp (revision 890883) +++ kmail/kmmsgbase.cpp (revision 890884) @@ -684,7 +684,7 @@ QByteArray KMMsgBase::extractRFC2231Head return str; assert( startPart < aStr.length() ); // Quoted values end at the ending quote - if ( aStr[startPart] == '"' ) { + if ( startPart < aStr.size() && aStr[startPart] == '"' ) { startPart++; // the double quote isn't part of the filename endPart = aStr.indexOf( '"', startPart ) - 1; } else { Index: kmail/kmmsgbase.cpp ===================================================================
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor