Page MenuHomeFreeBSD

libsa: Fix a bug in nvlist creation
ClosedPublic

Authored by markj on May 19 2022, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 27, 3:18 AM
Unknown Object (File)
Mon, Nov 24, 1:58 PM
Unknown Object (File)
Thu, Nov 20, 1:00 AM
Unknown Object (File)
Thu, Nov 20, 12:40 AM
Unknown Object (File)
Thu, Nov 13, 6:48 PM
Unknown Object (File)
Sun, Nov 2, 6:56 PM
Unknown Object (File)
Fri, Oct 31, 6:09 AM
Unknown Object (File)
Oct 29 2025, 5:27 PM
Subscribers

Details

Summary

When adding an entry to an nvlist, the data buffer might need to be
resized. When this happens, the XDR encoder's notion of the buffer size
also needs to be updated, otherwise the operation may erroneously fail.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45631
Build 42519: arc lint + arc unit