On Thu, 8 Sep 2016 10:26:57 +0800 Hangbin Liu <liuhang...@gmail.com> wrote:
> ftell() may return -1 in error case, which is not handled and therefore pass a > negative offset to fseek(). The return code of fseek() is also not checked. > > Reported-by: Phil Sutter <p...@nwl.cc> > Signed-off-by: Hangbin Liu <liuhang...@gmail.com> Applied