Line
Link Here
|
0 |
-- pngset.c |
0 |
++ pngset.c |
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)); |
|
|
694 |
new_iccp_name[png_strlen(name)+1]=0; |
694 |
new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); |
695 |
new_iccp_profile = (png_charp)png_malloc_warn(png_ptr, proflen); |
695 |
if (new_iccp_profile == NULL) |
696 |
if (new_iccp_profile == NULL) |
696 |
{ |
697 |
{ |