Bug 39265

Summary: Guard against NULL pointers when writing logs to XML
Product: Telepathy Reporter: vincent
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard: review+
i915 platform: i915 features:

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.