Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
kdepim4
r893922.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r893922.diff of Package kdepim4
Subject: knode: safety checks From: wstephenson@suse.de Bug: Patch-upstream: 893922 --- knode/kncleanup.cpp (revision 893921) +++ knode/kncleanup.cpp (revision 893922) @@ -226,7 +226,7 @@ void KNCleanUp::compactFolder(KNFolder * ts << "From aaa@aaa Mon Jan 01 00:00:00 1997\n"; ts.flush(); art->setStartOffset( newMBoxFile.pos() ); - while ( f->m_boxFile.pos() < (uint)art->endOffset() ) + while ( f->m_boxFile.pos() < (uint)art->endOffset() && !f->m_boxFile.atEnd() ) ts << f->m_boxFile.readLine(); ts.flush(); art->setEndOffset( newMBoxFile.pos() ); Index: knode/kncleanup.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