commit | 6ce38b73956836c26c8914cdf5002da7900a5d2d | [log] [download] |
---|---|---|
author | deraadt <deraadt> | Fri Jun 28 05:44:09 2019 +0000 |
committer | deraadt <deraadt> | Fri Jun 28 05:44:09 2019 +0000 |
tree | 9b54834d334e21cf396da47f091fea2ccb2eb6e0 | |
parent | b434692db20e6ef279ca13b6d25b0d519ac2c134 [diff] |
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. discussed a little with nicm, and then much more with millert until we were exasperated