diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2020-09-02 16:02:55 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2020-09-02 16:54:41 -0400 |
| commit | e6464fdc184e4b0a4032286c8fae245dcdb03d8f (patch) | |
| tree | e08ad3607c4046c5f83bc3d32f4f4c914a51559b /lib/strlcat.c | |
| parent | e9faf4be72294fccd9f7bd21b62473d408c80a37 (diff) | |
lib: remove overflow arithmetic from hash stats
Signed values get converted to unsigned for addition, so when the value
to adjust a stats variable for hash tables was negative this resulted in
overflow arithmetic, which we generally don't want.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'lib/strlcat.c')
0 files changed, 0 insertions, 0 deletions
