Prevent integer overflow in gdImageWebpCtx
commit4705a61d28301a9fbd713cfcde4071ab1cd0b4bf
authorChristopher Dykes <cdykes@fb.com>
Tue, 29 Nov 2016 21:57:19 +0000 (29 13:57 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Tue, 29 Nov 2016 22:01:58 +0000 (29 14:01 -0800)
treecfec3ce7e91a88c001da2b4e8c3343a118860a1f
parent3ebbb626bbe5c80456c5f304df3a48200f778a56
Prevent integer overflow in gdImageWebpCtx

Summary: Prevent an integer overflow in `gdImageWebpCtx`.

Reviewed By: aorenste

Differential Revision: D4091070

fbshipit-source-id: e475d73b2b67920343c0ce92565b06ebdd03a437
hphp/runtime/ext/gd/libgd/gd_webp.cpp