HomeFreeBSD

authpf: do not sprintf to a null pointer

Description

authpf: do not sprintf to a null pointer

The fgetln loop will terminate with buf = NULL at EOF.

Reported by: GCC
Reviewed by: kp
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39947

Details

Provenance
emasteAuthored on May 3 2023, 1:26 PM
Reviewer
kp
Differential Revision
D39947: authpf: do not sprintf to a null pointer
Parents
rGd411c1d696ef: zfs: merge openzfs/zfs@d96e29576
Branches
Unknown
Tags
Unknown