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 681914 - rtsp-server: segmentation fault in gst_rtsp_server_create_socket
rtsp-server: segmentation fault in gst_rtsp_server_create_socket
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
0.11.x
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-15 13:58 UTC by Patricia Muscalu
Modified: 2014-02-25 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
segault in gst_rtsp_server_create_socket (2.78 KB, patch)
2012-08-15 13:58 UTC, Patricia Muscalu
none Details | Review

Description Patricia Muscalu 2012-08-15 13:58:36 UTC
Created attachment 221258 [details] [review]
segault in gst_rtsp_server_create_socket

If there are no more addresses, the g_socket_address_enumerator_next function will not set *error.

Added unit test: test_bind_already_in_use
Comment 1 Wim Taymans 2012-08-20 09:50:21 UTC
commit 50e4c7e8c494d4fa1ec57d67f009f24d1ff92ef8
Author: Patricia Muscalu <patricia@axis.com>
Date:   Wed Aug 15 15:54:32 2012 +0200

    rtsp-server: fixed segfault in gst_rtsp_server_create_socket
    
    Do not assume that *error is set in g_socket_address_enumerator_next.
    Added test_bind_already_in_use unit-test.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681914