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 727376 - crash if media_prepare() fails to allocate UDP ports
crash if media_prepare() fails to allocate UDP ports
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: 1.3.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-31 09:06 UTC by Ognyan Tonchev (redstar_)
Modified: 2014-04-08 13:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media: Check the return value from stream_join_bin(), also implement unit test (3.62 KB, patch)
2014-03-31 09:07 UTC, Ognyan Tonchev (redstar_)
committed Details | Review

Description Ognyan Tonchev (redstar_) 2014-03-31 09:06:13 UTC
media_prepare() returns success for live medias even when UDP port allocation faled and no sinks were created.
Comment 1 Ognyan Tonchev (redstar_) 2014-03-31 09:07:34 UTC
Created attachment 273322 [details] [review]
media: Check the return value from stream_join_bin(), also implement unit test
Comment 2 Wim Taymans 2014-04-08 13:13:22 UTC
commit 9c0ef4d9f884200764400715ee7813c3f9e768ca
Author: Ognyan Tonchev <ognyan@axis.com>
Date:   Mon Mar 31 11:00:11 2014 +0200

    media: Make media_prepare() fail if port allocation fails
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727376