I recently installed windows 7 from vista and every quake client crashes.



pr_string_temp - pr_strings
pr_string_temp - pr_strings code
char *PF_VarString (int first) { int i; static char out[4096]; int len = 0; out[0] = 0; for (i = first; i < pr_argc; i++) { char *append = G_STRING ((OFS_PARM0 + i * 3)); // prevent buffer overflow in this function len += strlen (append); if (len > 4090) break; strcat (out, append); } return out; }
Comment