diff options
author | 2014-05-29 21:07:42 +0000 | |
---|---|---|
committer | 2014-05-29 21:07:42 +0000 | |
commit | af519d3eb9130cec59021d8a4d198000b86b4eba (patch) | |
tree | f7251ca7181bddf135dbf747539ea9e99bc59d33 /lib/libcrypto/objects/obj_dat.c | |
parent | Use the same convention for mixer control names as azalia. (diff) | |
download | wireguard-openbsd-af519d3eb9130cec59021d8a4d198000b86b4eba.tar.xz wireguard-openbsd-af519d3eb9130cec59021d8a4d198000b86b4eba.zip |
convert 53 malloc(a*b) to reallocarray(NULL, a, b). that is 53
potential integer overflows easily changed into an allocation return
of NULL, with errno nicely set if need be. checks for an allocations
returning NULL are commonplace, or if the object is dereferenced
(quite normal) will result in a nice fault which can be detected &
repaired properly.
ok tedu
Diffstat (limited to 'lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions