numam-dpdk/lib/eal/include
Ivan Ilchenko 1ffd3bc125 bitmap: fix buffer overrun in bitmap init
Bitmap initialization function is allowed to memset()
caller-provided buffer with number of bytes exceeded
this buffer size. This happens due to wrong comparison
sign between buffer size and number of bytes required
to initialize bitmap.

Fixes: 602c9ca33a ("sched: bitmap is now dynamically allocated")
Cc: stable@dpdk.org

Reported-by: Andy Moreton <amoreton@xilinx.com>
Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2021-06-11 11:03:25 +02:00
..
generic lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_alarm.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_bitmap.h bitmap: fix buffer overrun in bitmap init 2021-06-11 11:03:25 +02:00
rte_bitops.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_branch_prediction.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_bus.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_class.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_common.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_compat.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_debug.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_dev.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_devargs.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_eal_interrupts.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_eal_memconfig.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_eal_paging.h eal: fix memory mapping on 32-bit target 2021-05-11 23:01:06 +02:00
rte_eal_trace.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_eal.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_errno.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_fbarray.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_function_versioning.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_hexdump.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_hypervisor.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_interrupts.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_keepalive.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_launch.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_lcore.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_log.h log: register with standardized names 2021-05-11 15:17:55 +02:00
rte_malloc.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_memory.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_memzone.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_pci_dev_feature_defs.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_pci_dev_features.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_per_lcore.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_random.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_reciprocal.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_service_component.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_service.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_string_fns.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_tailq.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_test.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_thread.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_time.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_trace_point_register.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_trace_point.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_trace.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_uuid.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_version.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_vfio.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00