Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
kdepim3
kdepim-trinity-imap-segfault.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdepim-trinity-imap-segfault.patch of Package kdepim3
--- a/kioslaves/imap4/imapparser.cc 2012-05-29 20:22:52.187840588 +0200 +++ b/kioslaves/imap4/imapparser.cc 2012-05-29 20:29:30.723545443 +0200 @@ -1354,10 +1354,10 @@ label = parseOneWordC (inWords); } - if (inWords[0] == ')') + if (!inWords.isEmpty () && inWords[0] == ')') inWords.pos++; } - if (inWords[0] == ']') + if (!inWords.isEmpty () && inWords[0] == ']') inWords.pos++; skipWS (inWords); @@ -1479,6 +1479,7 @@ { QCString word = parseLiteralC(inWords, false, true); + if(!word.isEmpty()) { switch (word[0]) { case 'E': @@ -1602,6 +1603,9 @@ parseLiteralC(inWords); break; } + } else { + parseLiteralC(inWords); + } } }
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