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, 17 Aug 2009 07:40:06 -0500
From:	Dave Kleikamp <shaggy@...ux.vnet.ibm.com>
To:	Thomas Gleixner <tglx@...utronix.de>
Cc:	Al Viro <viro@...iv.linux.org.uk>,
	Christoph Hellwig <hch@...radead.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Steve French <sfrench@...ibm.com>,
	OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>,
	Roman Zippel <zippel@...ux-m68k.org>,
	Petr Vandrovec <vandrove@...cvut.cz>,
	Anton Altaparmakov <aia21@...tab.net>
Subject: Re: [patch] fs: Make unload_nls() NULL pointer safe

On Sun, 2009-08-16 at 21:05 +0000, Thomas Gleixner wrote:
> plain text document attachment (unload_nls.patch)
> Most call sites of unload_nls() do:
> 	if (nls)
> 		unload_nls(nls);
> 
> Check the pointer inside unload_nls() like we do in kfree() and
> simplify the call sites.
> 
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Steve French <sfrench@...ibm.com>
> Cc: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
> Cc: Roman Zippel <zippel@...ux-m68k.org>

Acked-by: Dave Kleikamp <shaggy@...ux.vnet.ibm.com>

> Cc: Petr Vandrovec <vandrove@...cvut.cz>
> Cc: Anton Altaparmakov <aia21@...tab.net>
> 
> ---
>  fs/befs/linuxvfs.c |    7 +------
>  fs/cifs/cifsfs.c   |    3 +--
>  fs/fat/inode.c     |   16 ++++------------
>  fs/hfs/mdb.c       |    6 ++----
>  fs/hfsplus/super.c |    6 ++----
>  fs/isofs/inode.c   |    8 ++------
>  fs/jfs/super.c     |    9 +++------
>  fs/ncpfs/inode.c   |   12 ++----------
>  fs/ncpfs/ioctl.c   |    6 ++----
>  fs/nls/nls_base.c  |    3 ++-
>  fs/ntfs/super.c    |   10 ++++------
>  fs/smbfs/inode.c   |   10 ++--------
>  12 files changed, 27 insertions(+), 69 deletions(-)
-- 
David Kleikamp
IBM Linux Technology Center

--
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