pipewire: reject choice pods whose elements are the wrong size


SpaRange<T> and SpaEnum<T> reinterpret the choice values as a plain
array of T without checking what the pod actually holds. A producer is
free to describe a property with a differently typed choice than the
one being asked for, and for any T wider than the pod's element type
that read runs past the end of the pod.

Pick-to: 6.12
Change-Id: I33bd2e217aeeb56ac3c305731c75c0c6d35c6e5b
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit2456559900eb240581ed7ed4b893178b15251610
parent0c76defc7f378433c45d73788071d16bbe85980d
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeSat, 22 Aug 2026 00:10:01 +0000