rtsp-media: Don't crash on encrypted RTX SDP
authorJan Schmidt <jan@centricular.com>
Fri, 4 Sep 2015 01:23:43 +0000 (11:23 +1000)
committerJan Schmidt <jan@centricular.com>
Wed, 9 Sep 2015 07:57:15 +0000 (17:57 +1000)
commit315c2f93bb3bd17514dd20fb269684dc2c23ee4d
tree72adc77057085934f23e5d83a1481b1baafa468c
parent22b618836ee332fce9fc83cfdcd9050305605ee0
rtsp-media: Don't crash on encrypted RTX SDP

In parse_keymgmt(), don't mutate the input string that's been passed
as const, especially since we might need the original value again if
the same key info applies to multiple streams (RTX, for example).

https://bugzilla.gnome.org/show_bug.cgi?id=754753
gst/rtsp-server/rtsp-media.c