View | Details | Raw Unified
Collapse All | Expand All

(-) libpng-1.2.21.ori/pngset.c (-1 / +1 lines)
 Lines 690-696    Link Here 
      png_warning(png_ptr, "Insufficient memory to process iCCP chunk.");
      png_warning(png_ptr, "Insufficient memory to process iCCP chunk.");
      return;
      return;
   }
   }
   png_strncpy(new_iccp_name, name, png_strlen(new_iccp_name)+1);
   png_strncpy(new_iccp_name, name, png_strlen(name)+1);
   new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen);
   new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen);
   if (new_iccp_profile == NULL)
   if (new_iccp_profile == NULL)
   {
   {