diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2019-04-13 18:47:59 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2019-04-13 18:47:59 +0000 |
commit | b583164c8c80b4bd3e1e972d39927c23033f2ac1 (patch) | |
tree | 770f5c59d2caecc91e2e42315d85865609b2cb25 /sys/dev/acpi/tipmic.c | |
parent | bb4226d9e5358de7125da5f1297a51ad6581d9dc (diff) |
Null out pointers on asprintf() failure.
These pointers will be passed to free. According to asprintf(3), "on
OpenBSD, ret will be set to the null pointer, but this behavior should
not be relied upon."
ok jsing
Diffstat (limited to 'sys/dev/acpi/tipmic.c')
0 files changed, 0 insertions, 0 deletions