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 #1

Updated by Dan McDonald about 9 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 <>

Actions

Also available in: Atom PDF