diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2013-11-14 18:09:40 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2013-11-14 18:09:40 +0000 |
commit | 38a71f576c3cd15854733df33366092017762dbe (patch) | |
tree | 99b22462b52d32aa5a77cce7e2dbe1f60246c87a /usr.sbin/vipw | |
parent | aba1d3d2185f138925225299a2ec4ca6d01eb951 (diff) |
Use (N * sizeof(struct klist)) instead of (N * sizeof(struct klist *))
when malloc'ing struct klist *.
Similar diff found upstream:
http://svnweb.freebsd.org/base?view=revision&revision=197575
Found by LLVM/Clang Static Analyzer.
ok tedu@ krw@ guenther@
Diffstat (limited to 'usr.sbin/vipw')
0 files changed, 0 insertions, 0 deletions