Applied-Upstream:
3de96da6cd66b1af7224561c568bc3de50cd1398
Last-Update: 2025-08-18
Reviewed-By: Étienne Mollier <emollier@debian.org>
Fixed an issue with recently committed changes that fix a problem with
invalid YBR_FULL images
Gbp-Pq: Name 0014-CVE-2025-9732.patch
// attribute), but not more than the size of the intermediate buffer
const unsigned long count = (this->InputCount < this->Count) ? this->InputCount : this->Count;
// make sure that there is sufficient input data (for planar pixel data)
- if (!this->PlanarConfiguration || (count >= planeSize * 3 /* number of planes */))
+ if (!this->PlanarConfiguration || (count >= planeSize))
{
if (rgb) /* convert to RGB model */
{