Re: An alternative to gdk-pixbuf
- From: Nicolas Dufresne <nicolas ndufresne ca>
- To: Ray Strode <halfline gmail com>
- Cc: Magnus Bergman <magnus bergman snisurset net>, gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: An alternative to gdk-pixbuf
- Date: Wed, 5 Sep 2018 20:03:51 -0400
hi,
Over the years it has been discussed from time to time to replace
gdk-pixbuf with something else[1][2].
[...]
I finally took some time to design an
image loading library on top of cairo
[...]
abydos, which at least
suits my needs. And also some needs mentioned in this list over the
years. First I thought it could suit the needs of GTK+ as well.
So one thing i think a modern image library needs is sandboxing. the loader should be contained with bubblewrap and it should just give back a chunk of pixels in shared memory as a memfd or similar.
then if it crashes it doesnt take down the app. if its exploited the most the attacker can do is make the caller show the wrong image (which could still be bad of course)
For foreign image, yes, but for system icons, that's just an overhead.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]