rtppassthroughpay: ensure buffer is writable before mapping writable
authorMatthew Waters <matthew@centricular.com>
Thu, 12 Dec 2024 01:05:04 +0000 (12:05 +1100)
committerBackport Bot <gitlab-backport-bot@gstreamer-foundation.org>
Thu, 12 Dec 2024 10:42:34 +0000 (10:42 +0000)
commitc46e70bf271d53acfe863845ee3d62b405055506
treed4b73cb46ab2ec5ab94561910249c16077a659d5
parent4544b00b0caeb20e54a54f8f820fa29adcdcea82
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/8137>
subprojects/gst-plugins-good/gst/rtp/gstrtppassthroughpay.c