CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2016/08/01 13:20:24

Modified files:
        sys/uvm        : Tag: OPENBSD_5_9 uvm_map.c 

Log message:
backport overflow checks from 1.218 and 1.219:
add a check that the arguments to isavail don't overflow.
callers should probably check too, but checking here won't hurt.
possible panic reported by tim newsham.
Check for wraparound before the "commit" phase of uvm_map() and uvm_mapanon(),
to prevent hitting assertions and/or corrupting data structures during that
phase.

Reply via email to