The missing NULL check for the return value of malloc(9) with
authorbluhm <bluhm@openbsd.org>
Mon, 1 Jan 2018 16:16:23 +0000 (16:16 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 1 Jan 2018 16:16:23 +0000 (16:16 +0000)
commit71db4ff6bbee6140c600730e6451b94e3e9f7d7b
tree2c81efea2d15e5deff1d25fe869a1d5608a368e3
parent11abe0ccb4f4736400fdb37e012f5ff482626fc6
The missing NULL check for the return value of malloc(9) with
M_NOWAIT is wrong.  Use M_WAITOK in ipmi_match() during attach.
OK kettenis@
sys/dev/ipmi.c