commit
3de96da6cd66b1af7224561c568bc3de50cd1398
Author: Joerg Riesmeier <dicom@jriesmeier.com>
Date: Mon Aug 18 17:58:56 2025 +0200
Fixed issue with commit
7ad81d69b.
Fixed an issue with recently committed changes that fix a problem with
invalid YBR_FULL images
Gbp-Pq: Name 0014-CVE-2025-9732b.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 */
{
const T1 *p = pixel;
if (this->PlanarConfiguration)
{
- /*
+/*
T2 *q;
// number of pixels to be skipped (only applicable if 'PixelData' contains more
// pixels than expected)
// skip to beginning of next plane
p += skip;
}
- */
+*/
unsigned long l;
unsigned long i = 0;
while (i < count)