This commit is contained in:
Christian Grothoff
2024-11-29 15:31:31 +01:00
parent c917479215
commit 7c02b0b6fb
+1 -1
View File
@@ -675,7 +675,7 @@ MHDT_load_pem (const char *name)
(void) close (fd);
return NULL;
}
buf = malloc (s.st_size + 1);
buf = malloc (((size_t) s.st_size + 1));
if (NULL == buf)
{
fprintf (stderr,