HomeFreeBSD

libifconfig: Set error in ifconfig_get_groups

Description

libifconfig: Set error in ifconfig_get_groups

This should return -1 with OTHER/ENOMEM set in the handle when malloc
fails, like everywhere else in libifconfig.

Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28964

Details

Provenance
freqlabsAuthored on Feb 27 2021, 8:07 AM
Reviewer
kp
Differential Revision
D28964: libifconfig: Fix handling of malloc fail in ifconfig_get_groups
Parents
rG1d8510c1a64d: zfs: add missing seqc write begin/end around zfs_acl_chown_setattr
Branches
Unknown
Tags
Unknown