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]
Date:   Fri, 7 Jul 2017 18:52:52 +0530
From:   hari prasath <gehariprasath@...il.com>
To:     Alan Cox <alan@...ux.intel.com>
Cc:     linux-media@...r.kernel.org, Julia Lawall <julia.lawall@...6.fr>,
        mchehab@...nel.org, linux-kernel@...r.kernel.org,
        SIMRAN SINGHAL <singhalsimran0@...il.com>,
        rvarsha016@...il.com, devel@...verdev.osuosl.org,
        "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] staging: atomisp: replace kmalloc & memcpy with kmemdup

On 07-Jul-2017 5:25 PM, "Alan Cox" <alan@...ux.intel.com> wrote:

On Fri, 2017-07-07 at 17:20 +0530, Hari Prasath wrote:
> kmemdup can be used to replace kmalloc followed by a memcpy.This was
> pointed out by the coccinelle tool.

And kstrdup could do the job even better I think ?
> Yes & thanks for pointing me that. I will send a v2 version.

-Hari

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ