[PartitionAlloc] Better guard PartitionAllocGetSlotOffset tests
If GigaCage is disabled, PartitionAllocGetSlotOffset() triggers a DCHECK which checks if the pointer is in the GigaCage's normal bucket pool. Change-Id: I9ea2683944ee308b9055a2c182e7bb5387c5fc1b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2534992 Commit-Queue: Bartek Nowierski <bartekn@chromium.org> Commit-Queue: Kentaro Hara <haraken@chromium.org> Auto-Submit: Bartek Nowierski <bartekn@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#826784}
Showing
Please register or sign in to comment