NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/51393: Reproducible KASSERT in UVM



The following reply was made to PR kern/51393; it has been noted by GNATS.

From: Michael van Elst <mlelstv%serpens.de@localhost>
To: gnats%netbsd.org@localhost
Cc: 
Subject: Re: kern/51393: Reproducible KASSERT in UVM
Date: Wed, 16 Aug 2017 00:42:40 +0200

 The address hint is passed through round_page() unless MAP_FIXED is set.
 A value of (void *)-1 is rounded up to 0.
 
 The assertion that a topdown allocation is below or equal to the "orig_hint"
 (== the rounded up and overflown value) doesn't hold in that case.
 
 
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index