]> git.sesse.net Git - mlt/commit
kino/filehandler.cc: check return value from lseek()
authorMikko Rapeli <mikko.rapeli@iki.fi>
Tue, 31 Jul 2012 08:07:18 +0000 (10:07 +0200)
committerMikko Rapeli <mikko.rapeli@iki.fi>
Mon, 6 Aug 2012 16:37:26 +0000 (18:37 +0200)
commitfe630227f24e0f6604d83563d36747347cfcd417
treed346f5cb7fc424c096db119f1a97a4058014de00
parent28c632b5fc8af6192aa681b13ea4e03d5a236f70
kino/filehandler.cc: check return value from lseek()

Fixes Coverity CID 709329: Unchecked return value (CHECKED_RETURN)
Calling function "lseek" without checking return value (as is done elsewhere 19 out of 20 times).
No check of the return value of "lseek(this->fd, 0L, 0)".
409        lseek( fd, 0, SEEK_SET );
src/modules/kino/filehandler.cc