cairocffi
cairocffi copied to clipboard
write_to_png does not work on macOS and on Linux hardened systems
Migrating cairocffi so it uses the faster cffi API mode and new-style callbacks would solve this problem. See also #105.
The fix in d7bb680 is not perfect, but it should at least make write_to_png
work on macOS and hardened systems.
@codingcatgirl If you’re interested in testing this fix, let me know! I’ll use this workaround everywhere it’s possible.
I'm currently unable to test this, maybe @evilscientress can?
Sadly not. Back then grsecurity hardened kernels where still a thing. I don't have a system with kernel anymore with hardening of that kind. IIRC the problem was memory that was RWX mapped. grsec didn't allow such memory allocations.