Fix: memory corruption in compat.h
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Jul 2016 19:13:28 +0000 (15:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 13 Jul 2016 19:13:28 +0000 (15:13 -0400)
commitffaea23347a6aa8f2d7c311e5d4feb7a891be182
tree0122374065114f2f7959b2ed100b1174300ca75e
parent07b57e5eb9db5d4219cab7cb3ad61edbc32eb9e5
Fix: memory corruption in compat.h

Found by Coverity:

CID 1357641 (#1 of 1): Out-of-bounds write (OVERRUN)2. sprintf_overrun:
sprintf will overrun its first argument &name[len] which can accommodate
4 bytes. The number of bytes written may be 5 bytes, including the
terminating null.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/compat.h
This page took 0.025081 seconds and 4 git commands to generate.