Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 09:43:08 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Jonathan Anderson <jona@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 166430 for review
Message-ID:  <200907240943.08676.jhb@freebsd.org>
In-Reply-To: <200907230537.n6N5bfaM064484@repoman.freebsd.org>
References:  <200907230537.n6N5bfaM064484@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 July 2009 1:37:41 am Jonathan Anderson wrote:
> http://perforce.freebsd.org/chv.cgi?CH=166430
> 
> Change 166430 by jona@jona-trustedbsd-belle-vmware on 2009/07/23 05:36:50
> 
> 	mmap() can fail and return MAP_FAILED, not just NULL\!

MAP_FAILED is actually the only invalid pointer it will return.  This should 
probably not be checking for NULL.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907240943.08676.jhb>