Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 194864 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 194864