Actions
Bug #1004
closedddi_dma_mem_alloc() doesn't check 'accattrp' argument against NULL.
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2011-05-08
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
ddi_dma_mem_alloc() doen't check its paratemer 'accattrp' against NULL before dereferencing, which leads to kernel panic.
Updated by Rich Lowe about 12 years ago
A call to ddi_dma_mem_alloc(9F) with an invalid ddi_device_acc_attr(9S) is erroneous. panicking is the correct thing to be doing.
Updated by Garrett D'Amore about 12 years ago
- Status changed from New to Rejected
Uh, passing NULL here would be an indication of a gross driver programming bug here. Panic is the right thing to do here. I'm rejecting this bug.
Actions