commit | 4c11d0bc172a4de73547b5d693fd8aaf43a199c7 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Apr 04 11:48:32 2014 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Fri Apr 04 11:49:45 2014 +0200 |
tree | fd870d3a78f39c033fb07e1774be5bf07dd120ca | |
parent | d0a941fccbd0f2d5b0ce85a49818ddb7fbb8755b [diff] |
abis: Check for failure of ftell In case ftell -1 will be returned. Coverity complained that the pos we pass to fseek might be negative. In case the ftell fails we are at the last line for sure. Fixes: Coverity CID 1040721