Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751552AbdIWWp0 (ORCPT ); Sat, 23 Sep 2017 18:45:26 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:53720 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbdIWWpZ (ORCPT ); Sat, 23 Sep 2017 18:45:25 -0400 Date: Sun, 24 Sep 2017 00:44:41 +0200 (CEST) From: Stefan Wahren To: Phil Elwell Cc: Aishwarya Pant , Eric Anholt , Dan Carpenter , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-rpi-kernel@lists.infradead.org, Greg Kroah-Hartman Message-ID: <1577139582.379288.1506206681123@email.1und1.de> In-Reply-To: <20170923161554.GA13023@kroah.com> References: <1502446827-86427-1-git-send-email-phil@raspberrypi.org> <1488620757.209623.1506164253450@email.1und1.de> <20170923161554.GA13023@kroah.com> Subject: Re: [PATCH v2] staging: bcm2835-audio: Fix memory corruption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.3-Rev30 X-Originating-Client: open-xchange-appsuite X-Provags-ID: V03:K0:e8DViMjh4sUr+pP9nDSHBUV//cZ1aBQYL+lrzkCAtkIlgr8T2SR c+OK4XzkEx3aN7/mP+1hPgguSZFND7kfuBK3aLcmWRG6Byz+tJ716xUngz+uGJbjK2n6KIk XgVNUFuFah2khfRV/sr911uNRWbX08hhA0akUN+OiG7OgqO57uamYuC6FcwjWJhYsP0z4Ya 3Fwnxasm6ITdts5yS9vtw== X-UI-Out-Filterresults: notjunk:1;V01:K0:aDAUpMPQLOg=:oZ/UpmHi61taZb603HpBl7 7Uz3wkUWMoh6E4Fj8cskVMGJcItLFOFouzzQKbG14ynhBdLgChjAfzqH4YJQiXvSa02XAUQI/ pV2vmwdXyID0OtpJ5L8Mg+SkrS2vW61r0QaJUDGDq2Mf3QSg2OuGyKxn66IKhar2qPeQDb00x 6tHpumloNS3/1h30dCwYwOBhOA+SSDUXaDOe7+DBF/hc8tcligQaATFj/k0DCIfsCQFmdpRZf ZoevFeCu+kr2qrDeERDSJ4sTvHY4UWasaOgL8ClFIh+f2JFQnPvFGAlWIzrrW7qZrBcpvYPqV XJvNRm8ut8EfUnG137VSUc0mwzd54qUGMKfpckIobPiehM9mqPfotn9SCM93P88kmHa2Rd0qs QYqNzstKpe0jzVmG5whPGiynSxxll7J//p+Yzwu8G7ZlY3jncqgXA954uMu3ExvHuq0E3Mhi9 X34I6/Go4D5h6gu1ac1n3BtBdOS9pONSEXsAJV76c+Yk8PtpuyhpwQO8aUqlQc/sq2LYvpYEW C9dI0erDEhuDKY7bRIQZJgxrMPhYw2i4wI9k9NctB5Xqtw3Du2An6Gn2N9ZYrMEmEMA+Im0+G sRTcGoKxF95+8NtFU0Hq8wXgDMg0eqzaJXKfZsGRUoB5h0v33Q2ZWpMFbfdVgAkzp8SGw9M+N bFPtDJcKrcD6W9Y2gOhLYrRadQQGK0FcOh5gKnOYYuROID6hT4UMNVu1axOV42TlzF6Hk3diB TVWHXqNnhVoG6VK7IEklHWY2ugiLBBTUlRo5YGfrktfXksUTZU3e7TcD1Uc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 35 Hi Phil, > Greg Kroah-Hartman hat am 23. September 2017 um 18:15 geschrieben: > > > On Sat, Sep 23, 2017 at 12:57:33PM +0200, Stefan Wahren wrote: > > Hi Greg, > > > > > Phil Elwell hat am 11. August 2017 um 12:20 geschrieben: > > > > > > > > > The previous commit (0adbfd46) fixed a memory leak but also freed a > > > block in the success case, causing a stale pointer to be used with > > > potentially fatal results. Only free the vchi_instance block in the > > > case that vchi_connect fails; once connected, the instance is > > > retained for subsequent connections. > > > > > > Simplifying the code by removing a bunch of gotos and returning errors > > > directly. > > > > > > Signed-off-by: Phil Elwell > > > Fixes: 0adbfd4694c2 ("staging: bcm2835-audio: fix memory leak in bcm2835_audio_open_connection()") > > > > can you still apply this patch or do you need a resend? > > Hm, I don't see this anywhere in my tree, or in my todo mbox, so yes, > please resend it, thanks. could you please resend this patch? Thanks Stefan > > greg k-h