This patch probably fixes the bug, but Emacs should really enforce limits on the dimensions given by the GIF library. What if it reports an image width of two million pixels? Do we really want to allocate such large images and pixmaps?
I agree we should have limits--perhaps specified by a variable. It could specify a float which is interpreted by multiplying by the screen height or width. I meant the frame's height or width. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel