Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
kdepimlibs4
r879951.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r879951.diff of Package kdepimlibs4
Subject: libical safety fix From: wstephenson@suse.de Bug: Patch-upstream: 879951 --- kcal/icalformat.cpp (revision 879950) +++ kcal/icalformat.cpp (revision 879951) @@ -525,7 +525,7 @@ ScheduleMessage *ICalFormat::parseSchedu Incidence *existingIncidence = cal->incidenceFromSchedulingID( incidence->uid() ); - icalcomponent *calendarComponent; + icalcomponent *calendarComponent = 0; if ( existingIncidence ) { calendarComponent = d->mImpl->createCalendarComponent( cal ); @@ -579,7 +579,8 @@ ScheduleMessage *ICalFormat::parseSchedu kDebug() << "status =" << status; icalcomponent_free( message ); - icalcomponent_free( calendarComponent ); + if ( calendarComponent ) + icalcomponent_free( calendarComponent ); return new ScheduleMessage( incidence, method, status ); } Index: kcal/icalformat.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