File figlet-random.patch of Package figlet
--- chkfont.c
+++ chkfont.c
@@ -68,6 +68,7 @@
ptr=(char *)malloc(size);
if (ptr==NULL) {
fprintf(stderr,"%s: Out of memory\n",myname);
+ return(NULL);
}
else {
return(ptr);
--- chkfont.c
+++ chkfont.c
@@ -68,6 +68,7 @@
ptr=(char *)malloc(size);
if (ptr==NULL) {
fprintf(stderr,"%s: Out of memory\n",myname);
+ return(NULL);
}
else {
return(ptr);