DescriptionVerify value of prec before using
The fx_codec_jpx_opj code will attempt to do a 1 << (prec - 1). If the prec
value is >=32 then that shift will overflow the int value. This CL adds a check
that prec is < 32 before attempting the shift.
BUG=chromium:633208
Committed: https://pdfium.googlesource.com/pdfium/+/db319ec6a9330e75276b873f6027caddf2a15ec0
Patch Set 1 #
Total comments: 2
Patch Set 2 : review feedback #Messages
Total messages: 13 (7 generated)
|