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)
Dec 6 2024, 10:32 PM
Unknown Object (File)
Nov 25 2024, 6:03 PM
Unknown Object (File)
Nov 13 2024, 10:06 AM
Unknown Object (File)
Nov 7 2024, 5:33 AM
Unknown Object (File)
Nov 7 2024, 5:29 AM
Unknown Object (File)
Oct 28 2024, 9:40 AM
Unknown Object (File)
Oct 18 2024, 2:10 AM
Unknown Object (File)
Oct 8 2024, 1:46 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable