Limit thumbnailer memory/time
Back in the day I patched libgsf-office-thumbnailer to have a setrlimit()
with a certain maximum of memory and CPU time.
I think gnome-desktop's thumbnailing infrastructure should do the same. I'm filing this here, because I'm not sure about:
- Is this something at the bwrap level
- Or at the
g_spawn_sync()
level fromgnome_desktop_thumbnail_script_exec()
- Or directly in gdk-pixbuf-thumbnailer
I think the second one is the correct place, but I'm not familiar with bwrap.