if (sb == NULL) { ... sb->s_error } is going to be a bad time. Return
ENOMEM when we cannot allocate an sbuf for the sysctl rather than
dereferencing the NULL pointer just returned.
Sponsored by: Netflix
Differential D30373
axgbe: Don't dereference NULL pointers imp on May 21 2021, 4:51 AM. Authored by Tags None Referenced Files
Subscribers
Details
if (sb == NULL) { ... sb->s_error } is going to be a bad time. Return Sponsored by: Netflix
Diff Detail
|