HomeFreeBSD

seq: fix potential NULL ptr reference

Description

seq: fix potential NULL ptr reference

asprintf(3) allocates memory, and there isn't any guarantee of success.

MFC after: 2 weeks
Obtained from: OpenBSD

(cherry picked from commit 94c4f663bab58ec07584786dd76866011d5b2506)

Details

Provenance
oshogboAuthored on Sep 30 2022, 5:36 PM
emasteCommitted on Jun 26 2023, 4:30 PM
Parents
rGe982b1cf1fe1: Bump __FreeBSD_version to 1302506 for merges of LinuxKPI changes.
Branches
Unknown
Tags
Unknown