--- apps/apps.c	2012-12-06 18:43:40.000000000 +0000
+++ apps/apps.patched.c	2012-12-10 11:29:20.212271028 +0000
@@ -392,7 +392,9 @@
 		{
 		arg->count=20;
 		arg->data=(char **)OPENSSL_malloc(sizeof(char *)*arg->count);
-		}
+		if (arg->data == NULL)
+			return 0;
+		}
 	for (i=0; i<arg->count; i++)
 		arg->data[i]=NULL;
 
