Fix: missing check of ftell error
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Jul 2017 22:04:53 +0000 (18:04 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Aug 2017 16:07:10 +0000 (12:07 -0400)
commit1e95e5e8f70e5eca26628978fa839008e149913b
treeb8c50fdff0928e63c9e281e1f3d1ac2051f86c41
parent3faba6d46e33b942f525ebaf77f11bc868e5bd76
Fix: missing check of ftell error

Found by Coverity:

CID 1376186 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS)
13. negative_returns: init_pos is passed to a parameter that cannot be
negative.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/common/metadata/decoder.c
This page took 0.02397 seconds and 4 git commands to generate.