summaryrefslogtreecommitdiff
path: root/sig.c
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 /sig.c
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 'sig.c')
0 files changed, 0 insertions, 0 deletions
commit-subject'>Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull block fixes from Jens Axboe: "A set of fixes for this series. This contains: - Set of fixes for the nvme target code - A revert of patch from this merge window, causing a regression with WRITE_SAME on iSCSI targets at least. - A fix for a use-after-free in the new O_DIRECT bdev code. - Two fixes for the xen-blkfront driver" * 'for-linus' of git://git.kernel.dk/linux-block: Revert "sd: remove __data_len hack for WRITE SAME" nvme-fc: use blk_rq_nr_phys_segments nvmet-rdma: Fix missing dma sync to nvme data structures nvmet: Call fatal_error from keep-alive timout expiration nvmet: cancel fatal error and flush async work before free controller nvmet: delete controllers deletion upon subsystem release nvmet_fc: correct logic in disconnect queue LS handling block: fix use after free in __blkdev_direct_IO xen-blkfront: correct maximum segment accounting xen-blkfront: feature flags handling adjustments
Diffstat (limited to 'tools/lib/api/cpu.h')