Fix: missing ftell/fseek error handling
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 26 Jul 2017 15:55:11 +0000 (11:55 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Aug 2017 22:00:19 +0000 (18:00 -0400)
commitfaf8e665d68bddd8ddc4a3e15e6a920d41b5132d
tree41635cf1314c3acd887ac4bf1d7edffac64c0ec6
parent4a3b8c485cef6614632714cf90741398bccda28f
Fix: missing ftell/fseek error handling

Found by Coverity:

CID 1376181 (#1 of 1): Argument cannot be negative (NEGATIVE_RETURNS).
negative_returns: filesize 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/fs-src/query.c
This page took 0.025096 seconds and 4 git commands to generate.