ccsrch
ccsrch copied to clipboard
Buffer overflow
Line 992 removes the terminating \0 at the end of inbuf. It is just luck that that often the next char is a \0.
937: inbuf = strdup(inputstr); ... 992: inbuf[strlen(inbuf)] = '/';