After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 384044 - possible memory leak in icalvalue_decode_ical_string
possible memory leak in icalvalue_decode_ical_string
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: libical
1.10.x (obsolete)
Other Linux
: High normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-12-09 13:58 UTC by Matt Davey
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix memory leak in icalvalue-decode-ical-string (349 bytes, patch)
2006-12-09 13:59 UTC, Matt Davey
committed Details | Review

Description Matt Davey 2006-12-09 13:58:48 UTC
It is possible to return from icalvalue_decode_ical_string without freeing a created buffer.

I spotted this while perusing the code.
Comment 1 Matt Davey 2006-12-09 13:59:41 UTC
Created attachment 78021 [details] [review]
patch to fix memory leak in icalvalue-decode-ical-string
Comment 2 Kjartan Maraas 2007-01-25 14:23:24 UTC
Please review this patch someone.
Comment 3 Matthew Barnes 2007-03-27 03:32:23 UTC
Patch is correct, but I lack permissions to commit this.
Comment 4 Harish Krishnaswamy 2007-03-27 04:18:15 UTC
Added credits and ChangeLog to the patch and committed to trunk.
Matt, thanks for the patch.

Matthew: Feel free to commit straightforward patches to the calendar modules.