GNOME Bugzilla – Bug 754753
rtsp-media: don't mutate original string when parsing keymgmt
Last modified: 2015-09-09 07:57:55 UTC
This has an issue as same as in commit fe4ed1d1dfbbc858865a59a470331264c6015f4c in gst-plugins-good
Created attachment 310943 [details] [review] media: don't mutate original string when parsing keymgmt Actually, this duplicated code is being handled in https://bugzilla.gnome.org/show_bug.cgi?id=745880
Thanks, I already had this patch locally - I just hadn't pushed it yet: commit 315c2f93bb3bd17514dd20fb269684dc2c23ee4d Author: Jan Schmidt <jan@centricular.com> Date: Fri Sep 4 11:23:43 2015 +1000 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