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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 17 Nov 2006 11:59:18 -0600
From:	Steve Wise <swise@...ngridcomputing.com>
To:	Bryan O'Sullivan <bos@...hscale.com>
Cc:	rdreier@...co.com, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, openib-general@...nib.org
Subject: Re: [openib-general] [PATCH 02/13] Device Discovery and ULLD
	Linkage

On Fri, 2006-11-17 at 09:53 -0800, Bryan O'Sullivan wrote:
> Steve Wise wrote:
> 
> > +static inline void *vzmalloc(int size)
> > +{
> > +	void *p = vmalloc(size);
> > +	memset(p, 0, size);
> > +	return p;
> > +}
> 
> This isn't checking the return value from vmalloc.
> 

Oops...


> Also, we could do with a generic vzalloc and vcalloc, just as we now 
> have kzalloc and kcalloc.  There are lots of routines like this sitting 
> around.
> 
> 	<b

I guess I'll post a kernel patch to add these...



-
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