Commits

Anonymous committed 415c555

updated for version 7.3.159
Problem: Using uninitialized pointer when out of memory.
Solution: Check for NULL return value.

  • Participants
  • Parent commits 27a73cd
  • Tags v7-3-159

Comments (0)

Files changed (2)

 	done = to - (char *)result;
     }
 
-    if (resultlenp != NULL)
+    if (resultlenp != NULL && result != NULL)
 	*resultlenp = (int)(to - (char *)result);
     return result;
 }
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    159,
+/**/
     158,
 /**/
     157,