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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACna6rwz8fx_wBoNe2bko+Rtoq2xpfAGgCKZDFy4iBqGQuSbkg@mail.gmail.com>
Date:	Fri, 31 May 2013 09:57:25 +0200
From:	Rafał Miłecki <zajec5@...il.com>
To:	Libo Chen <clbchenlibo.chen@...wei.com>
Cc:	dwmw2@...radead.org, Andy Shevchenko <andy.shevchenko@...il.com>,
	artem.bityutskiy@...ux.intel.com,
	Bill Pemberton <wfp5p@...ginia.edu>, hauke@...ke-m.de,
	linux-mtd@...ts.infradead.org, LKML <linux-kernel@...r.kernel.org>,
	Li Zefan <lizefan@...wei.com>
Subject: Re: [PATCH RESEND 1/2] mtd: bcm47: convert kzalloc to avoid invalid access

2013/5/30 Libo Chen <clbchenlibo.chen@...wei.com>:
> mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its member.
> So I use devm_kazlloc instead of kazlloc to avoid it.

I think you should use
mtd: bcm47xxsflash:
prefix for both patches, but Artem or David may want to comment on that.

Nice trick with that devm_kzalloc, I didn't know it.

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