From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 007AD4D40C for ; Tue, 1 Jul 2025 03:27:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 5482768EB1F; Tue, 1 Jul 2025 06:27:41 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 2C2E368EB17 for ; Tue, 1 Jul 2025 06:27:35 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 55E7544305 for ; Tue, 1 Jul 2025 03:27:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1751340454; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6RVsEg0tZMrNWnF9XdEnjNmGlp3dEpNSwLsG3D94l7g=; b=jTUVHRmbXg/XkGEaYdLfQheBojSQfBxOXmrBg+6PsfTOdoUrEEpeeGWvNRB8j/Qhtn9+XH GzygLDDVbg8NVlDs27IAkmaGuJBK3RMbdWsFjedXmI55w3TqCaQa51YeGO0KYL02OlN0XE GOowi8DjoW8V6iZ+YBflipERqltO5+Vtk6BvHmX5o6sICqUx5UKWNi5f4/L7dQZM01S8o2 5vadquw6ELJ4EE4LJo2d5XddSsY+cIB4BgEQRnxmnW0NV0VcoKYChcYRo5w21LHQiHRyAZ 6qdQOJFmqIN+BfnzCDUxjTyDI5nyyhXyeAyfwQ1rWvgw99TbopQ5LJSi9oj2KA== Date: Tue, 1 Jul 2025 05:27:33 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250701032733.GC29660@pb2> References: <20250629064526.2992143-1-502024330056@smail.nju.edu.cn> <20250629064526.2992143-6-502024330056@smail.nju.edu.cn> MIME-Version: 1.0 In-Reply-To: <20250629064526.2992143-6-502024330056@smail.nju.edu.cn> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddufeehtdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 5/5] avformat/rtpdec_asf: fix leak in ff_wms_parse_sdp_a_line() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============1393942061282883221==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1393942061282883221== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wuknYrgA12oXOL8J" Content-Disposition: inline --wuknYrgA12oXOL8J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 29, 2025 at 02:45:26PM +0800, Lidong Yan wrote: > In ff_wms_parse_sdp_a_line(), it allocates memory in buf, but doesn't > free buf when avformat_alloc_context() failed. Add av_free(buf) before > return to prevent from leak. >=20 > Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> > --- > libavformat/rtpdec_asf.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is not once nor twice but times without number that the same ideas make their appearance in the world. -- Aristotle --wuknYrgA12oXOL8J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaGNVoQAKCRBhHseHBAsP q4EUAKCVlbeKfk9eX4cABrZWFUH2TqVjfgCfa6qIgTiRDUITpp0W3kp3/lgNHys= =QQp3 -----END PGP SIGNATURE----- --wuknYrgA12oXOL8J-- --===============1393942061282883221== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============1393942061282883221==--