ccsrch icon indicating copy to clipboard operation
ccsrch copied to clipboard

Buffer overflow

Open PeterN opened this issue 8 years ago • 0 comments

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)] = '/';

PeterN avatar Sep 16 '16 08:09 PeterN