From 6d87376c1d3cf00a5a8f78ab7adcfe78feb127f3 Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 22 Oct 2026 15:25:53 -0400 Subject: [PATCH] ChangeLog.md: Further restrict the scope of #929 In order for num_cols to wrap around, it had to be less than the number of non-4-byte-aligned rows. Since the output pixels are 2 bytes, effectively num_cols had to be an odd number less than half of the vertical sampling factor. Since the vertical sampling factor cannot be > 4, num_cols had to be 1. --- ChangeLog.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index 3cefc6b5..80f883c6 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -164,11 +164,11 @@ dropped into a subsampled input image or vice versa. converters that occurred when attempting to decompress more than one scanline at a time from a vertically subsampled JPEG image. These issues caused a buffer overrun and subsequent segfault if the output image rows were not 4-byte -aligned and both the vertical sampling factor and the number of scanlines -decompressed at a time were greater than 2. In other cases, the issues caused -incorrect dithered output. The issues could not be reproduced using djpeg -(which decompresses one scanline at a time) and were not known to exist in any -other applications. +aligned, the image width was 1, and both the vertical sampling factor and the +number of scanlines decompressed at a time were greater than 2. In other +cases, the issues caused incorrect dithered output. The issues could not be +reproduced using djpeg (which decompresses one scanline at a time) and were not +known to exist in any other applications. 3.0.4