summaryrefslogtreecommitdiff
path: root/netsniff-ng/.gitignore
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-05-15 00:59:59 +0300
committerTobias Klauser <tklauser@distanz.ch>2018-05-15 09:05:52 +0200
commitf6d450a5e4054b7ac17b73fb5081a55479c327d6 (patch)
treed41ff0e69179a89bf8623a8287cf6bb7edea9f45 /netsniff-ng/.gitignore
parentc44813eb1a7546f77b00ae9d1702d8f5c47b7d40 (diff)
mausezahn: Fix IPv6 address comparison
CMP_INT evaluates its arguments more than once, and thus passing a post-incremented pointer as an argument causes double increments and hence buffer overruns. This can be observed by erratic behavior of IPv6 address ranges. Fix by moving the increment to loop header. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng/.gitignore')
0 files changed, 0 insertions, 0 deletions