Check for non-negative fd before close, dup, lseek, or read.

Bug: 24896328
Change-Id: Idd8da8cf202f51f42d0a81421a91768ec3d5f025
1 file changed