Commit df199b79f for imagemagick.org
commit df199b79f0a1c87ca009e431f03cb387af160f77
Author: Cristy <urban-warrior@imagemagick.org>
Date: Tue Sep 22 21:48:28 2026 -0400
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h499-883p-vph8
diff --git a/coders/tga.c b/coders/tga.c
index 759a0cfa4..e870e4c1c 100644
--- a/coders/tga.c
+++ b/coders/tga.c
@@ -632,7 +632,7 @@ static Image *ReadTGAImage(const ImageInfo *image_info,ExceptionInfo *exception)
Optional extension.
*/
char
- buffer[325];
+ buffer[325] = { 0 };
(void) ReadBlob(image,41,buffer);
buffer[41]='\0';