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)
Wed, Jan 7, 4:44 AM
Unknown Object (File)
Wed, Jan 7, 4:43 AM
Unknown Object (File)
Wed, Jan 7, 4:42 AM
Unknown Object (File)
Dec 11 2025, 3:46 PM
Unknown Object (File)
Dec 2 2025, 6:16 AM
Unknown Object (File)
Nov 27 2025, 10:13 PM
Unknown Object (File)
Nov 18 2025, 9:21 PM
Unknown Object (File)
Nov 3 2025, 5:19 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