diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-08-08 14:52:24 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-08-08 16:04:40 +0200 |
commit | a860db364521ca6e9046bbf60fbbb1ca2bc08711 (patch) | |
tree | 2dc9206f1abd6a72697a3a851594cbd6bd7816b1 /common/unix-peer.h | |
parent | 53402f9e5296718d22ddf1a77658067c2751f068 (diff) |
common: Use reallocarray instead of realloc as appropriate
reallocarray is a new POSIX function added in glibc 2.26, with
built-in overflow checks. Take advantage of that function for
internal array allocation.
Diffstat (limited to 'common/unix-peer.h')
0 files changed, 0 insertions, 0 deletions