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:	Mon, 14 Mar 2011 12:00:00 -0700
From:	Greg KH <greg@...ah.com>
To:	Ilia Mirkin <imirkin@...m.mit.edu>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 07/24] staging: hv: Remove NULL check before kfree

On Sun, Mar 13, 2011 at 12:29:00AM -0500, Ilia Mirkin wrote:
> This patch was generated by the following semantic patch:
> // <smpl>
> @@ expression E; @@
> - if (E != NULL) { kfree(E); }
> + kfree(E);
> 
> @@ expression E; @@
> - if (E != NULL) { kfree(E); E = NULL; }
> + kfree(E);
> + E = NULL;
> // </smpl>
> 
> Signed-off-by: Ilia Mirkin <imirkin@...m.mit.edu>
> ---
>  drivers/staging/hv/channel_mgmt.c |    3 +--
>  drivers/staging/hv/connection.c   |    4 +---
>  drivers/staging/hv/hv_mouse.c     |   12 ++++--------
>  3 files changed, 6 insertions(+), 13 deletions(-)

Let me sync up with the other hyperv patches in my queue before applying
this one, don't worry, it's not lost...

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ