rtspsrc: Accept NULL for "port-range" property
authorJuan Navarro <juan.navarro@gmx.es>
Fri, 21 Dec 2018 09:59:22 +0000 (10:59 +0100)
committerJuan Navarro <juan.navarro@gmx.es>
Fri, 21 Dec 2018 09:59:22 +0000 (10:59 +0100)
commit5dfd12b64c78fc8533bdd511a0b8879f9679fd13
treeea4b560093a57be6757b7422902c14a49d7d8588
parentf52e16ceb82b1915718a0982c60237170f6a97ed
rtspsrc: Accept NULL for "port-range" property

The documentation of "port-range" implies that passing NULL should be
valid, but currently it is not. Without this check, the sscanf() call
will crash.
gst/rtsp/gstrtspsrc.c