https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201288

            Bug ID: 201288
           Summary: usr.sbin/bhyve/pci_virtio_block.c:320: 21 into 20
                    won't go
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]

usr.sbin/bhyve/pci_virtio_block.c:320]: (error) Buffer is accessed out of
bounds: sc.vbsc_ident

    sprintf(sc->vbsc_ident, "BHYVE-%02X%02X-%02X%02X-%02X%02X",
        digest[0], digest[1], digest[2], digest[3], digest[4], digest[5]);

sprintf writes 21 bytes into a 20 byte field.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to