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: [email protected]
          Reporter: [email protected]
          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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to