lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPcyv4ipa7LBA6ewTqot4nxdKdFNTswQT9pkNKydv9ChQ2Hcpw@mail.gmail.com>
Date:   Tue, 13 Jul 2021 11:17:15 -0700
From:   Dan Williams <dan.j.williams@...el.com>
To:     Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>
Cc:     Greg KH <gregkh@...uxfoundation.org>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        David M Ertman <david.m.ertman@...el.com>,
        Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] driver core: auxiliary bus: Fix memory leak when
 driver_register() fail

On Tue, Jul 13, 2021 at 2:34 AM Peter Ujfalusi
<peter.ujfalusi@...ux.intel.com> wrote:
>
> If driver_register() returns with error we need to free the memory
> allocated for auxdrv->driver.name before returning from
> __auxiliary_driver_register()
>
> Fixes: 7de3697e9cbd4 ("Add auxiliary bus support")
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>

Good catch,

Reviewed-by: Dan Williams <dan.j.williams@...el.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ