Project

General

Profile

Actions

Bug #678

closed

ntxn could blow pointer in mac_alloc()

Added by Richard Elling almost 11 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-01-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

Description

By inspection,

http://src.illumos.org/source/xref/illumos-opengrok/usr/src/uts/common/io/mac/mac_provider.c#88

the return value of kmem_zalloc() is not checked before using it as a pointer for assignment. The return value could be NULL, causing a blown pointer.

Actions

Also available in: Atom PDF