From f5e0f52dd3ba8152c0ec37c2113586ce2e6bcff3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Mar 2023 15:26:00 +0100 Subject: Revert "rtsp: use dynbuf instead of custom reallocs" This reverts commit 1b9ea3239d22147e00d8 because of OSS-fuzz reports. I'll do another take after the pending release. Closes #10785 --- lib/rtsp.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/rtsp.h') diff --git a/lib/rtsp.h b/lib/rtsp.h index 6bce41a61..6e55616b3 100644 --- a/lib/rtsp.h +++ b/lib/rtsp.h @@ -29,8 +29,6 @@ #ifndef CURL_DISABLE_RTSP -#include "dynbuf.h" - extern const struct Curl_handler Curl_handler_rtsp; CURLcode Curl_rtsp_parseheader(struct Curl_easy *data, char *header); @@ -47,7 +45,8 @@ CURLcode Curl_rtsp_parseheader(struct Curl_easy *data, char *header); * Currently, only used for tracking incomplete RTP data reads */ struct rtsp_conn { - struct dynbuf buf; + char *rtp_buf; + ssize_t rtp_bufsize; int rtp_channel; }; -- cgit v1.2.1