]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
lib: initial use of reallocarray(3).
authorpfg <pfg@FreeBSD.org>
Fri, 21 Apr 2017 19:27:33 +0000 (19:27 +0000)
committerpfg <pfg@FreeBSD.org>
Fri, 21 Apr 2017 19:27:33 +0000 (19:27 +0000)
commit74648ea0817c89ad5ad23d4c12119af560338527
tree95b96b0ac6ded34ff5298c39db0a2c518884c3ca
parenta31946f8ed3f8b7b93ba5e30c86b33002e59ea23
lib: initial use of reallocarray(3).

Make some use of reallocarray, attempting to limit it to cases where the
parameters are unsigned and there is some theoretical chance of overflow.

MFC afer: 2 weeks
Differential Revision: https://reviews.freebsd.org/D9980
lib/libgssapi/gss_buffer_set.c
lib/libiconv_modules/ISO2022/citrus_iso2022.c
lib/libutil/gr_util.c
lib/libutil/login_cap.c
lib/libutil/pw_util.c