diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-10-09 02:50:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-10-09 02:50:17 +0000 |
commit | e7b127f9fe250993bb4f692ae0cab0bc1b7a2001 (patch) | |
tree | 4c163a1b8863c042dec3aa21544a741de869dc17 /usr.bin | |
parent | 2fb8aad981cfb73b4fe1d6301dbf9329e1705eff (diff) |
use reallocarray(NULL, a, b) instead of malloc(a, b), which gives us
proper mult int overflow detection. The existing code already handles
malloc failure properly, of course.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions