"Maxime Villard" writes:
> Module Name:  src
> Committed By: maxv
> Date:         Tue Aug  6 08:10:27 UTC 2019
> 
> Modified Files:
>       src/sys/uvm: uvm_mmap.c
> 
> Log Message:
> Change 'npgs' from int to size_t. Otherwise the 64bit->32bit conversion
> could lead to npgs=0, which is not expected. It later triggers a panic
> in uvm_vsunlock().
> 
> Found by TriforceAFL (Akul Pillai).

ah, and so we begin the task of making UVM handle more than 
31 bits of page number :-)


.mrg.

Reply via email to