The call in freetype.c:expand_mac_font() would be a good candidate for asprintf(), but I'm planning to send a patch soon to remove that resource-fork font extraction anyway.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5436
On Tue Apr 2 07:23:54 2024 +0000, Aida Jonikienė wrote:
> I wonder if the lack of tests could be a problem merging this (I've been
> thinking of using a TRY/EXCEPT block to test the behavior of this flag
> but this might not be right)
I don't think tests are useful here.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5437#note_66713