Project

General

Profile

Actions

Bug #3179

closed

vmem_xalloc needs to check for overflow

Added by Rich Lowe about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
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.

Actions

Also available in: Atom PDF