]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
rtsp: bump buf after rtsp_filter_rtp()
authorDaniel Stenberg <daniel@haxx.se>
Tue, 12 May 2026 09:56:16 +0000 (11:56 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 May 2026 10:39:06 +0000 (12:39 +0200)
Reported-by: Andrew Nesbit
Closes #21563

lib/rtsp.c

index 8ba168cb5b7b63c663ae9534ce13c1c4e03b8b19..b39b8a740b76b875cf915c2094f77434f276b588 100644 (file)
@@ -887,6 +887,7 @@ static CURLcode rtsp_rtp_write_resp(struct Curl_easy *data,
       result = rtsp_filter_rtp(data, rtspc, buf, blen, &consumed);
       if(result)
         goto out;
+      buf += consumed;
       blen -= consumed;
     }
   }