Page MenuHomeFreeBSD

libsa: Fix a bug in nvlist creation
ClosedPublic

Authored by markj on May 19 2022, 4:23 PM.
Tags
None
Referenced Files
F140655034: D35254.diff
Fri, Dec 26, 11:55 AM
Unknown Object (File)
Thu, Dec 18, 9:16 PM
Unknown Object (File)
Mon, Dec 1, 6:57 AM
Unknown Object (File)
Sat, Nov 29, 4:41 PM
Unknown Object (File)
Thu, Nov 27, 3:18 AM
Unknown Object (File)
Nov 24 2025, 1:58 PM
Unknown Object (File)
Nov 20 2025, 1:00 AM
Unknown Object (File)
Nov 20 2025, 12:40 AM
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