]> git.proxmox.com Git - mirror_frr.git/commit - pimd/mtracebis.c
pimd: untrusted argument (3) (Coverity 1465491)
authorpaco <paco@voltanet.io>
Tue, 26 Jun 2018 15:09:07 +0000 (17:09 +0200)
committerpaco <paco@voltanet.io>
Tue, 26 Jun 2018 15:14:36 +0000 (17:14 +0200)
commit813099f0fcd3781edfa00b6e6f2cc96732b494ae
tree1a481b467751e9110e26f34e6add19475fe90168
parentb2e020256e368fbdb8ca9ec96cf6dac24f364566
pimd: untrusted argument (3) (Coverity 1465491)

Additional fix over d94023d85c1682ae14def9d50f2474e8e6290e44 (PR #2546)

Removed all pointer arithmetic used for the checks, while keeping same
coverage. I hope this removes the Coverity warning (If this don't fix it, I'll
make Coverity work with a fork and try there as many times as necessary)

Signed-off-by: F. Aragon <paco@voltanet.io>
pimd/mtracebis.c