--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- xrdb-1.0.7-orig/xrdb.c +++ xrdb-1.0.7/xrdb.c @@ -883,7 +883,10 @@ for (j = 0; j < number_of_elements; j++) { if (access(cpp_locations[j], X_OK) == 0) { - cpp_program = cpp_locations[j]; + if ((cpp_program = + (char *)malloc(strlen(cpp_locations[j]) + 4)) == NULL) + fatal("%s: Out of memory\n", ProgramName); + sprintf(cpp_program, "%s -P", cpp_locations[j]); break; } }