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 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)
Wed, Oct 29, 5:27 PM
Unknown Object (File)
Wed, Oct 29, 5:27 PM
Unknown Object (File)
Wed, Oct 29, 5:27 PM
Unknown Object (File)
Wed, Oct 29, 5:21 PM
Unknown Object (File)
Mon, Oct 20, 1:21 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