]> git.ipfire.org Git - people/ms/suricata.git/commit
rust: right condition for both uint to be zero
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 13 Sep 2021 09:22:36 +0000 (11:22 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 12 Nov 2021 14:21:07 +0000 (15:21 +0100)
commit8f8823b6f2b0a26b551397b8b574104bfd37e9f5
tree338c7a7508575d45a3d07862e4cfe847c7a92883
parent689ac97d7225fd43b64c103034b1fdf63fa4d324
rust: right condition for both uint to be zero

Theay can overflow leading to their addition to be zero

If a NFS read reply indicates a count of 0xFFFFFFFF

Bug: #4680.
rust/src/filetracker.rs