mirror of
https://github.com/curl/curl.git
synced 2026-08-03 16:50:28 +03:00
rtsp: avoid SIGSEGV on malformed header
This commit is contained in:
parent
62ef465262
commit
f3e3f5f1b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue