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
F108521812: D26893.diff
Sat, Jan 25, 9:03 PM
Unknown Object (File)
Fri, Jan 17, 7:27 PM
Unknown Object (File)
Tue, Jan 14, 10:37 AM
Unknown Object (File)
Tue, Jan 14, 10:37 AM
Unknown Object (File)
Tue, Jan 14, 10:37 AM
Unknown Object (File)
Tue, Jan 14, 9:49 AM
Unknown Object (File)
Mon, Jan 13, 11:44 PM
Unknown Object (File)
Sat, Jan 11, 10:43 AM
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