Fix: CHECKED_RETURN (CWE-252)
authorTomas Hozza <thozza@redhat.com>
Sun, 24 Feb 2013 09:38:39 +0000 (10:38 +0100)
committerHendrik Sattler <post@hendrik-sattler.de>
Sun, 24 Feb 2013 09:38:39 +0000 (10:38 +0100)
commit28c070daae5e302bbd4ce5d863bac0bc3704b2a2
tree6cdfe80b3dc43e8395a7db0693dbb6c13ce936da
parent650d762e6e1d4239f573bef17b6d88c353b63b12
Fix: CHECKED_RETURN (CWE-252)

Coverity output:
apps/lib/obex_io.c:68: check_return: Calling function
"stat(filename, &stats)" without checking return value. This library
function may fail and return an error code.
apps/obex_io.c:68: unchecked_value: No check of
the return value of "stat(filename, &stats)".
apps/lib/obex_io.c