rtsp: avoid SIGSEGV on malformed header

This commit is contained in:
Kamil Dudka 2010-09-06 15:31:01 +02:00
parent 62ef465262
commit f3e3f5f1b2
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ CURLcode Curl_rtsp_parseheader(struct connectdata *conn,
/* Find the first non-space letter */
start = header + 9;
while(*start && ISSPACE(*start))
while(start && ISSPACE(*start))
start++;
if(!start) {