diff options
author | fvogel <fvogelnew1@free.fr> | 2024-06-08 08:54:50 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2024-06-08 08:54:50 (GMT) |
commit | 249fc690380f4cb9524794298a86a314ee4d53a5 (patch) | |
tree | fe326bbe0f35c75f2f260b4c8ddc90a91ea7d4f0 /generic | |
parent | 9e67b3bff485409680adc5c89f47fe54adcc457b (diff) | |
download | tk-249fc690380f4cb9524794298a86a314ee4d53a5.zip tk-249fc690380f4cb9524794298a86a314ee4d53a5.tar.gz tk-249fc690380f4cb9524794298a86a314ee4d53a5.tar.bz2 |
Add explanatory comment.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkImgPhoto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 9c5f91c..61d1c9b 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -3171,6 +3171,8 @@ Tk_PhotoPutZoomedBlock( /* * Zero-sized blocks never cause any changes. [Bug 3078902] + * Negative-size blocks happen when trying to copy from an area outside + * the source image. [Bug a0241c0e25] */ if (blockPtr->height <= 0 || blockPtr->width <= 0) { |