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-next>] [day] [month] [year] [list]
Date:	Sun, 26 Aug 2012 17:04:47 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Anton Altaparmakov <anton@...era.com>
Cc:	kernel-janitors@...r.kernel.org,
	linux-ntfs-dev@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: fs/ntfs/super.c:2717:1-14: alloc with no test


Hi Anton,

FYI, coccinelle warns about

fs/ntfs/super.c:2717:1-14: alloc with no test, possible model on line 2718

vim +2717 fs/ntfs/super.c
  2714		sb->s_flags |= MS_RDONLY;
  2715	#endif /* ! NTFS_RW */
  2716		/* Allocate a new ntfs_volume and place it in sb->s_fs_info. */
> 2717		sb->s_fs_info = kmalloc(sizeof(ntfs_volume), GFP_NOFS);
  2718		vol = NTFS_SB(sb);
  2719		if (!vol) {
  2720			if (!silent)

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@...ux.intel.com>                     Intel Corporation
--
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