OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Brad Smith (bradcvs.openbsd.org)
Date: Sat May 21 2005 - 20:40:58 CDT


CVSROOT: /cvs
Module name: src
Changes by: bradcvs.openbsd.org 2005/05/21 19:40:58

Modified files:
        sys/uvm : Tag: OPENBSD_3_5 uvm_mmap.c

Log message:
MFC:
Fix by otto

In uvm_mmap(), check for size wrap to 0, and return ENOMEM in that
case. Do not arbitarily disallow sizes with the high bit set, they
are unsigned.

ok deraadt