Bug #3179
vmem_xalloc needs to check for overflow
Start date:
2012-09-12
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
It's possible in vmem_xalloc that while rounding up the allocation size we will overflow. We should check and fail the allocation and/or panic, as allowable.
Updated by Dan McDonald over 8 years ago
- Status changed from New to Resolved
- % Done changed from 80 to 100
changeset: 13812:903032120792
tag: tip
user: Bryan Cantrill <bryan@joyent.com>
date: Wed Sep 12 10:54:28 2012 -0400
description:
3179 vmem_xalloc needs to check for overflow
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Robert Mustacchi <rm@joyent.com>