asprintf returns -1, not an arbitrary value < 0. Also upon error the
(very sloppy specification) leaves an undefined value in *ret, so it is
wrong to inspect it, the error condition is enough.
Obtained from: OpenBSD
MFC after: 3 days
asprintf returns -1, not an arbitrary value < 0. Also upon error the Tags None Referenced Files None Subscribers None
Description
Details
|