From patchwork Thu Apr 6 21:07:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Guilbert X-Patchwork-Id: 3323 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.44.195 with SMTP id s186csp3840vss; Thu, 6 Apr 2017 14:13:52 -0700 (PDT) X-Received: by 10.28.141.65 with SMTP id p62mr15786415wmd.122.1491513232088; Thu, 06 Apr 2017 14:13:52 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id w11si6575147wme.104.2017.04.06.14.13.51; Thu, 06 Apr 2017 14:13:52 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@chromium.org; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E221F680C95; Fri, 7 Apr 2017 00:13:44 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2E0EF680C95 for ; Fri, 7 Apr 2017 00:13:38 +0300 (EEST) Received: by mail-lf0-f47.google.com with SMTP id z15so33029523lfd.1 for ; Thu, 06 Apr 2017 14:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Mg8CmCGjD97ppveWzVaqnz+KXSFwiKA0az0IvKq7dbc=; b=bcnXxI7ke6c5O/dSi6gvtcxX/DtciWPadm7I+mrcdY+lLg0Cc+5IMsbwiPBhyqqq0z b0iEyyS7Ueipx1iiN2ZJLcZVcmms3zmmWiXXYNs9DcgS1k0f7oFyPUh9JoXxz849rEVf vMXXrAvBfcL18mbDEAFPLhQNupeGECmePyqcY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Mg8CmCGjD97ppveWzVaqnz+KXSFwiKA0az0IvKq7dbc=; b=Criba9v4DZhLNbRodjPdAGz0x8hONYkznVsODydLYKEfHxQU5yubJ7e+Iki/WotyP5 owz8QD8iDwNCN4YclhGrSs1h3wQTzBDX9BEmHN4UJg8+dfn5zGi/qC34gp/0H3V6v+kU SBOOHi9Jy+KfEG0ubhGV7NygnPNBIKillst/i5YcLGkp/bnWPHgdMBlab7oWQVarIkWk yGrWHPGR7dQEaYTSgVfR4m0JfUN60rC3Kgq/ulHO2usu9cJiiHmi3tf0uNkZYZimTA83 eAoOVWx0Cgu42kViEE03CQwLwNRrqY6L4qJS01DH13hFDtMTBYVDQEqNSpNETnbj3gw7 uj+A== X-Gm-Message-State: AFeK/H2GcYE59BvtypF44u0eucROz3hkaotrspC197XTT+Xr4LcAa1m3IIw0pz9mTAPUr//K X-Received: by 10.46.22.66 with SMTP id 2mr10594544ljw.120.1491512905205; Thu, 06 Apr 2017 14:08:25 -0700 (PDT) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com. [209.85.215.48]) by smtp.gmail.com with ESMTPSA id i23sm579990ljb.63.2017.04.06.14.08.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 14:08:24 -0700 (PDT) Received: by mail-lf0-f48.google.com with SMTP id x137so33031010lff.3 for ; Thu, 06 Apr 2017 14:08:24 -0700 (PDT) X-Received: by 10.25.20.101 with SMTP id k98mr10269504lfi.13.1491512903888; Thu, 06 Apr 2017 14:08:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.99.209 with HTTP; Thu, 6 Apr 2017 14:07:53 -0700 (PDT) In-Reply-To: References: From: Thomas Guilbert Date: Thu, 6 Apr 2017 14:07:53 -0700 X-Gmail-Original-Message-ID: Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: Re: [FFmpeg-devel] Fix leaked dictionary in mp3dec X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The patch didn't show up as properly formatted on https://patchwork.ffmpeg.org/patch/3228/. Re-submitting using no line wrap in the base64 attachment, and copying the contents of the patch for ease of review: From fced5ab0e09f529397adddcb560d1a08f2df4840 Mon Sep 17 00:00:00 2001 From: Thomas Guilbert Date: Thu, 30 Mar 2017 18:23:29 -0700 Subject: [PATCH] Fix dictionnary leak in mp3dec --- libavformat/mp3dec.c | 1 + 1 file changed, 1 insertion(+) RnJvbSBmY2VkNWFiMGUwOWY1MjkzOTdhZGRkY2I1NjBkMWEwOGYyZGY0ODQwIE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBUaG9tYXMgR3VpbGJlcnQgPHRndWlsYmVydEBjaHJvbWl1bS5vcmc+CkRhdGU6IFRodSwgMzAgTWFyIDIwMTcgMTg6MjM6MjkgLTA3MDAKU3ViamVjdDogW1BBVENIXSBGaXggZGljdGlvbm5hcnkgbGVhayBpbiBtcDNkZWMKCi0tLQogbGliYXZmb3JtYXQvbXAzZGVjLmMgfCAxICsKIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKQoKZGlmZiAtLWdpdCBhL2xpYmF2Zm9ybWF0L21wM2RlYy5jIGIvbGliYXZmb3JtYXQvbXAzZGVjLmMKaW5kZXggMDkyNGE1Nzg0My4uZmQ4MTg0Y2MwYiAxMDA2NDQKLS0tIGEvbGliYXZmb3JtYXQvbXAzZGVjLmMKKysrIGIvbGliYXZmb3JtYXQvbXAzZGVjLmMKQEAgLTM0OSw2ICszNDksNyBAQCBzdGF0aWMgaW50IG1wM19yZWFkX2hlYWRlcihBVkZvcm1hdENvbnRleHQgKnMpCiAgICAgaW50IHJldDsKICAgICBpbnQgaTsKIAorICAgIGF2X2RpY3RfZnJlZSgmcy0+bWV0YWRhdGEpOwogICAgIHMtPm1ldGFkYXRhID0gcy0+aW50ZXJuYWwtPmlkM3YyX21ldGE7CiAgICAgcy0+aW50ZXJuYWwtPmlkM3YyX21ldGEgPSBOVUxMOwogCi0tIAoyLjEyLjIuNTY0LmcwNjNmZTg1OGI4LWdvb2cKCg==