numam-dpdk/lib/librte_timer
Erik Gabriel Carrillo c485a5e65a timer: fix null access if not initialized
If the timer subsystem is not initialized before rte_timer_manage (for
example) is invoked, a pointer to a shared hugepage memory region will
still be null and dereferenced when it is checked for validity; handle
this case.

Fixes: c0749f7096 ("timer: allow management in shared memory")
Cc: stable@dpdk.org

Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
2019-07-18 23:14:53 +02:00
..
Makefile timer: allow management in shared memory 2019-04-17 20:05:20 +02:00
meson.build timer: allow management in shared memory 2019-04-17 20:05:20 +02:00
rte_timer_version.map timer: add function to stop all timers in a list 2019-04-17 20:05:30 +02:00
rte_timer.c timer: fix null access if not initialized 2019-07-18 23:14:53 +02:00
rte_timer.h timer: fix resource leak in finalize 2019-07-06 10:32:40 +02:00