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

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