Fix: Wrong sizeof argument in pid tracker
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 17 May 2016 13:23:50 +0000 (09:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 19:15:12 +0000 (15:15 -0400)
commit909881bd26b15193f27845f65f7e6010e92fb5df
tree11325add2d7d044b54fa14dc8f8fe4ceeb3d35ef
parentcc5f1854bbb16b993afda3b966d9ec9af3243123
Fix: Wrong sizeof argument in pid tracker

Found by Coverity:

CID 1292557 (#1 of 1): Wrong sizeof argument
(SIZEOF_MISMATCH)suspicious_sizeof: Passing argument 8UL /* sizeof
(*_pid_list) */ to function zmalloc and then casting the return value to
int * is suspicious.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/track-untrack.c
This page took 0.029599 seconds and 4 git commands to generate.