summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-05-29 21:07:42 +0000
committerderaadt <deraadt@openbsd.org>2014-05-29 21:07:42 +0000
commitaf519d3eb9130cec59021d8a4d198000b86b4eba (patch)
treef7251ca7181bddf135dbf747539ea9e99bc59d33 /lib/libcrypto/objects/obj_dat.c
parentUse the same convention for mixer control names as azalia. (diff)
downloadwireguard-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