571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
27 lines
719 B
Diff
27 lines
719 B
Diff
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.44.0
|
|
|