HomeFreeBSD

Prevent creation of an invalid nvlist

Description

Prevent creation of an invalid nvlist

If an nvlist is set as a child of another nvlist with
nvlist_move_nvlist then fail the operation and set the parent
nvlist to the error state.

Differential Revision: https://reviews.freebsd.org/D1880
Reviewers: jfv
MFC after: 1 month
Sponsored by: Sandvine Inc

Details

Provenance
rstoneAuthored on
Differential Revision
D1880: Prevent creation of an invalid nvlist
Parents
rS279435: Don't allocate memory for operations that do not insert
Branches
Unknown
Tags
Unknown

Event Timeline