]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mpsutil: Fix data truncation by too short buffers.
authorAlexander Motin <mav@FreeBSD.org>
Tue, 30 Nov 2021 01:14:13 +0000 (20:14 -0500)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 30 Nov 2021 01:20:03 +0000 (20:20 -0500)
commitf5b0083302edcf421265530cc01dd87c06b23af1
tree3388236ebaabf03c79c4a7f397dbe75e811d315b
parentbd6dce978c1a4d4472c98ff5685de3c2f2bd0203
mpsutil: Fix data truncation by too short buffers.

Length of some string buffers was insufficient for cases of more that
99 targets per HBA or slots per enclosure.  Some others are tuned just
for better alignment.  While there also fix output formatting issues.

MFC after: 1 week
Sponsored by: iXsystems, Inc.
usr.sbin/mpsutil/mps_show.c