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 |
{ |