Skip to content
  • Matthias Clasen's avatar
    When calling fread() in a loop, check for ferror() as well as for feof() · fe8c42b6
    Matthias Clasen authored
    2004-04-13  Matthias Clasen  <mclasen@redhat.com>
    
    	* io-ani.c (gdk_pixbuf__ani_image_load_animation):
    	* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info)
    	(_gdk_pixbuf_generic_image_load)
    	(gdk_pixbuf_new_from_file_at_size): When calling fread()
    	in a loop, check for ferror() as well as for feof() to
    	avoid infinite loops on directories.  (#137804, Alex Converse)
    fe8c42b6