diff options
Diffstat (limited to 'libs/giflib/patches/010-CVE-2022-28506.patch')
-rw-r--r-- | libs/giflib/patches/010-CVE-2022-28506.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/giflib/patches/010-CVE-2022-28506.patch b/libs/giflib/patches/010-CVE-2022-28506.patch deleted file mode 100644 index f6de2bee2..000000000 --- a/libs/giflib/patches/010-CVE-2022-28506.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/gif2rgb.c -+++ b/gif2rgb.c -@@ -294,6 +294,11 @@ static void DumpScreen2RGB(char *FileNam - GifRow = ScreenBuffer[i]; - GifQprintf("\b\b\b\b%-4d", ScreenHeight - i); - for (j = 0, BufferP = Buffer; j < ScreenWidth; j++) { -+ /* Check if color is within color palete */ -+ if (GifRow[j] >= ColorMap->ColorCount) -+ { -+ GIF_EXIT(GifErrorString(D_GIF_ERR_IMAGE_DEFECT)); -+ } - ColorMapEntry = &ColorMap->Colors[GifRow[j]]; - *BufferP++ = ColorMapEntry->Red; - *BufferP++ = ColorMapEntry->Green; |