compositor: Fix crash while drawing background and/or blending for subsampled YUV
authorSeungha Yang <seungha@centricular.com>
Mon, 19 Jul 2021 13:11:41 +0000 (22:11 +0900)
committerSeungha Yang <seungha@centricular.com>
Fri, 20 Aug 2021 16:19:06 +0000 (01:19 +0900)
commitf5a79ce05f62ad98134435955ed3d10d22f17cb9
tree6df2428c60cf68f99ee5e351db149f697d587624
parentebb6b9778af00afe60bd308a27c5ddb8df932d68
compositor: Fix crash while drawing background and/or blending for subsampled YUV

Fix crash caused by out-of-bounds memory accesses when drawing
background and/or blending. This fix is conceptually identical to the
approach as the commit of 8ff5079e5eef37b9bd5b212350f0cefbd9546b1b

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1229>
gst/compositor/blend.c