Re: uvm integer overflows

2014-05-05 Thread Philip Guenther
On Mon, May 5, 2014 at 11:27 AM, Mark Kettenis wrote: > Inspired by some commits in bitrig, I did an audit for potential > integer overflows caused by converting a page number into an > offset/size/address by shifting by PAGE_SHIFT. While doing so, I > noticed that uvm_objwire/unwire really shoul

uvm integer overflows

2014-05-05 Thread Mark Kettenis
Inspired by some commits in bitrig, I did an audit for potential integer overflows caused by converting a page number into an offset/size/address by shifting by PAGE_SHIFT. While doing so, I noticed that uvm_objwire/unwire really should really use voff_t instead of off_t. There is one potential o