DescriptionUse safe math when rendering line segments in AGG.
It is possible for the calculations in outline_aa::render_line to overflow
as the |p| variable is calculated. This Cl updates the routine to use
checked math when calculating the value of |p|.
BUG=chromium:647026
Committed: https://pdfium.googlesource.com/pdfium/+/4935e606c632e38af8fca1729f8688fa0d152b90
Patch Set 1 #
Total comments: 1
Patch Set 2 : Add patch file #
Messages
Total messages: 15 (8 generated)
|