rtppassthroughpay: ensure buffer is writable before mapping writable
authorMatthew Waters <matthew@centricular.com>
Thu, 12 Dec 2024 01:05:04 +0000 (12:05 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 12 Dec 2024 01:06:13 +0000 (12:06 +1100)
commitc3cc8205b2886058038257a09955ea50addea1bf
tree435609f47e497cda9c75294f738eee816d5793f1
parenta3a7acdd0aeeaac2b7dc6ac8440c977eb3d14dc0
rtppassthroughpay: ensure buffer is writable before mapping writable

It is entirely possible that the incoming buffer into _chain() is not writable
and will result in a critical when trying to map().

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8131>
subprojects/gst-plugins-good/gst/rtp/gstrtppassthroughpay.c