]> granicus.if.org Git - libx264/commit
slurp_file: Various minor bug fixes
authorHenrik Gramner <henrik@gramner.com>
Tue, 23 Jun 2015 20:08:35 +0000 (22:08 +0200)
committerAnton Mitrofanov <BugMaster@narod.ru>
Fri, 24 Jul 2015 21:39:31 +0000 (00:39 +0300)
commit936e8da1a4f9d0431b181d0877bb1602d4de9441
treefa88259234b98d3f86dc39da95f56f3879349390
parentd302526d5b97818f588b86f408f910924790242e
slurp_file: Various minor bug fixes

 * Fix unsigned <= 0 check.
 * Add additional size sanity check on 32-bit systems.
 * Don't read uninitialized data if fread() fails.
common/common.c