freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Fwd: Issue 977845 in chromium: pdf_font_fuzzer: Integer-o


From: Werner LEMBERG
Subject: Re: [ft-devel] Fwd: Issue 977845 in chromium: pdf_font_fuzzer: Integer-overflow in compute_glyph_metrics
Date: Wed, 14 Aug 2019 10:51:35 +0200 (CEST)

> I'm not sure what exactly points of discussion are, but in HarfBuzz
> we do purposefully ignore position overflows.  We use a macro like
> this for that:
> 
> #define HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW
> __attribute__((no_sanitize("signed-integer-overflow")))
> 
> If you want to copy the macro, please copy its surrounding
> conditions as well.

For my taste, it is too imprecise, since the attribute can only be set
function-wise.  You can find the discussion somewhere in
freetype-devel, IIRC.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]