[Bug 205322] [PATCH] boot0cfg: check result of the malloc()
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 14 18:24:10 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205322
Bug ID: 205322
Summary: [PATCH] boot0cfg: check result of the malloc()
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: freebsd-bugs at FreeBSD.org
Reporter: kuleshovmail at gmail.com
Keywords: patch
Created attachment 164240
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164240&action=edit
check malloc result
Hello all,
We are trying to allocate buffer for MBR in the read_mbr() function by the call
of the malloc(). But it may return NULL in error case. This patch adds check
for
this case.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list