Check inet_pton return value
authorHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Mon, 22 Oct 2012 13:08:56 +0000 (15:08 +0200)
committerHenning Rogge <henning.rogge@fkie.fraunhofer.de>
Mon, 22 Oct 2012 13:08:56 +0000 (15:08 +0200)
commitb3f05653fc085193504218e47458891acf7c495d
treea93c36dd643fe06d8f29402451af8ffe037521c5
parent886bfb52b3d09b9ddbd612e3c093e2ab5c046797
Check inet_pton return value

    Coverity:

    CID 739622 (#1 of 1): Unchecked return value (CHECKED_RETURN)
    At (8): Calling function "inet_pton(int, char const * restrict, void * restrict)" without checking return value (as is done elsewhere 22 out of 25 times).

Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
src/linux/net.c