Bug 21684 - Don't crash in SessionHandler.Ready() if streams is NULL
Summary: Don't crash in SessionHandler.Ready() if streams is NULL
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/wj...
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-05-11 10:11 UTC by Will Thompson
Modified: 2009-05-19 10:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2009-05-11 10:11:13 UTC
The linked branch fixes a possible crash in gabble_media_channel_ready() if priv->streams is NULL by ensuring that it's never NULL. It also makes SessionHandler methods fail gracefully if called too early or too late.
Comment 1 Guillaume Desmottes 2009-05-19 08:42:30 UTC
<cassidy> wjt: crash-on-ready looks good (according my limited knowledge of the media code)

add a NEWS entry too
Comment 2 Will Thompson 2009-05-19 10:20:02 UTC
Merged, will be in telepathy-gabble 0.7.28.


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.