Page MenuHomeFreeBSD

ubuf is too small to hold a human readable 64 bit value
ClosedPublic

Authored by bret_ketchum_dell.com on Oct 21 2020, 4:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 3:17 AM
Unknown Object (File)
Mon, Oct 13, 10:48 PM
Unknown Object (File)
Mon, Oct 13, 10:48 PM
Unknown Object (File)
Mon, Oct 13, 10:48 PM
Unknown Object (File)
Mon, Oct 13, 9:06 AM
Unknown Object (File)
Tue, Sep 23, 1:02 PM
Unknown Object (File)
Sep 13 2025, 11:08 PM
Unknown Object (File)
Sep 8 2025, 12:43 PM
Subscribers

Details

Summary

ubuf buffer is too small. It should be 18 if a NULL is not needed, or 19 to hold the NULL terminator for the full 64-BIT value plus the 0x prefix.

Test Plan

Run ntb_tool.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable