freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] PCF: Issues with lazy copy in `ft_bitmap_glyph_init'


From: armin
Subject: Re: [ft-devel] PCF: Issues with lazy copy in `ft_bitmap_glyph_init'
Date: Sat, 25 Aug 2018 13:25:39 +0100

>>> Looks like a bug.  Please provide a simple compilable example that I 
>>> can use for debugging.
>> 
>> Sorry, sure, I forgot!  You could use `2018-08-20-bitmaps' on my 
>> private fork like:
>> 
>> $ git clone https://github.com/cherusker/freetype2-testing.git
>> cherusker-freetype2-testing
>> $ cd cherusker-freetype2-testing
>> $ git checkout 2018-08-20-bitmaps
>> $ cd fuzzing/scripts
>> $ ./custom-script.sh
>> ... <here go your settings, asan is required> ...
>
> Following this recipe (using git 3763871e) it fails [...]

Mhm ... strange, but I can see the same fail with Travis as well;  no worries, 
won't be delivered that way ;)

>> Is that OK, or should I extract a teeny-tiny sample with just the 4 to 
>> 5 necessary API calls?
>
> The latter would be really nice, especially if written in C.

Sure, no worries;  you can find a tiny C function + build script attached.  
Please make sure to build FreeType with `clang' and `-fsanitize=address' for it 
to work :)

Attachment: ft-get-glyph.zip
Description: Zip compressed data


reply via email to

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