elput: Check return of read function call
authorChris Michael <cpmichael@osg.samsung.com>
Thu, 30 Jun 2016 14:54:22 +0000 (10:54 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Thu, 30 Jun 2016 14:54:22 +0000 (10:54 -0400)
commit0f965446a823f9d5c5e02424d04eecc35da547e9
treee7877a119140dc6db0b495dbb704492df6a08fae
parent1fb3c3328604c56d20ea4a0e35925d4b9f94b185
elput: Check return of read function call

If we fail to read any bytes from the fd, then we should be returning
a failure here.

Fixes Coverity CID1357143

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/elput/elput_input.c