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)
Mon, Oct 28, 9:40 AM
Unknown Object (File)
Fri, Oct 18, 2:10 AM
Unknown Object (File)
Oct 8 2024, 1:46 AM
Unknown Object (File)
Sep 30 2024, 1:17 AM
Unknown Object (File)
Sep 25 2024, 2:23 AM
Unknown Object (File)
Sep 24 2024, 10:38 AM
Unknown Object (File)
Sep 22 2024, 7:18 AM
Unknown Object (File)
Sep 19 2024, 8:46 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