]> git.cameronkatri.com Git - pw-darwin.git/commit
lib: initial use of reallocarray(3).
authorPedro F. Giffuni <pfg@FreeBSD.org>
Fri, 21 Apr 2017 19:27:33 +0000 (19:27 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Fri, 21 Apr 2017 19:27:33 +0000 (19:27 +0000)
commit1234cbbb41b6bf57c7094a5e9d015db7b303c44c
tree5d0f4dbfb4599374995f8bdcdefacb43043ee1f7
parent841aacdd6b25fd8a7324623dbc2ebae7e572a6f6
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
libutil/gr_util.c
libutil/login_cap.c
libutil/pw_util.c