rtspconnection: Annotate RTSP message parameters correctly
authorPatricia Muscalu <patricia@axis.com>
Wed, 22 Feb 2023 13:14:15 +0000 (14:14 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 24 Feb 2023 01:04:23 +0000 (01:04 +0000)
commit4024e6b7756c0754846cbcbcd1b2f69be84a7f38
treec4a721d50c7757853e04d7e2b679ceea75e25162
parent3ce43c8014c540da9b34cb21696a989ce461e7f0
rtspconnection: Annotate RTSP message parameters correctly

These parameters are not actually `out` parameters but must
be allocated and zero-initialized by the calling function.
Marking them as `out caller-allocates` will cause memory
corruptions when calling these APIs from e.g., Python code.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4061>
subprojects/gst-plugins-base/gst-libs/gst/rtsp/gstrtspconnection.c
subprojects/gst-plugins-base/gst-libs/gst/rtsp/gstrtspmessage.c