numam-dpdk/app/proc_info
Michal Jastrzebski 08dd403dbd app/procinfo: fix xstats by ID on 32-bit
Coverity reported that an argument for sizeof was used improperly.
We should allocate memory for value size that pointer points to,
instead of pointer size itself.

Coverity issue: 144523, 144521
Fixes: 7ac16a3660 ("app/proc-info: support xstats by ID and by name")

Signed-off-by: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
2017-05-10 18:49:59 +02:00
..
main.c app/procinfo: fix xstats by ID on 32-bit 2017-05-10 18:49:59 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00