Bug 39265 - Guard against NULL pointers when writing logs to XML
Summary: Guard against NULL pointers when writing logs to XML
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard: review+
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-15 09:26 UTC by vincent
Modified: 2011-07-21 11:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description vincent 2011-07-15 09:26:02 UTC
The patch fixes both:
- criticals being triggered when calling routines with a NULL object
- "(null)" being written as text for a NULL parameter to %s

http://cgit.collabora.com/git/user/vincent/telepathy-logger/log/?h=NULL
Comment 1 Nicolas Dufresne 2011-07-21 09:42:04 UTC
Looks good.
Comment 2 Nicolas Dufresne 2011-07-21 11:22:25 UTC
Pushed upstream, will be in 0.2.11.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.