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

Details

Provenance
oshogboAuthored on Sep 30 2022, 5:36 PM
Parents
rGc5e957ad4fe6: file: fix test case for gpkg by removing the extra \n.
Branches
Unknown
Tags
Unknown