Project

General

Profile

Bug #3179

vmem_xalloc needs to check for overflow

Added by Rich Lowe over 8 years ago. Updated over 8 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.

#1

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 <>
date: Wed Sep 12 10:54:28 2012 -0400
description:
3179 vmem_xalloc needs to check for overflow
Reviewed by: Richard Lowe <>
Approved by: Robert Mustacchi <>

Also available in: Atom PDF