Page MenuHomeFreeBSD

libifconfig: Fix handling of malloc fail in ifconfig_get_groups
ClosedPublic

Authored by freqlabs on Feb 27 2021, 8:22 AM.

Details

Summary

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

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.