Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
giflib
0001-Clean-up-memory-better-at-end-of-run-CVE-2...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Clean-up-memory-better-at-end-of-run-CVE-2021-40633.patch of Package giflib
From ccbc956432650734c91acb3fc88837f7b81267ff Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" <esr@thyrsus.com> Date: Wed, 21 Feb 2024 18:55:00 -0500 Subject: [PATCH] Clean up memory better at end of run (CVE-2021-40633) --- gif2rgb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gif2rgb.c b/gif2rgb.c index d51226d..fc2e683 100644 --- a/gif2rgb.c +++ b/gif2rgb.c @@ -517,6 +517,9 @@ static void GIF2RGB(int NumFiles, char *FileName, bool OneFileFlag, DumpScreen2RGB(OutFileName, OneFileFlag, ColorMap, ScreenBuffer, GifFile->SWidth, GifFile->SHeight); + for (i = 0; i < GifFile->SHeight; i++) { + (void)free(ScreenBuffer[i]); + } (void)free(ScreenBuffer); { -- 2.43.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor