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)
May 4 2026, 5:22 AM
Unknown Object (File)
Apr 28 2026, 10:56 PM
Unknown Object (File)
Apr 28 2026, 7:00 AM
Unknown Object (File)
Apr 28 2026, 2:46 AM
Unknown Object (File)
Apr 27 2026, 4:37 AM
Unknown Object (File)
Apr 26 2026, 6:46 AM
Unknown Object (File)
Apr 23 2026, 11:42 AM
Unknown Object (File)
Mar 30 2026, 12: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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable