File libpng12-CVE-2016-10087.patch of Package libpng12.3388
--- a/png.c +++ b/png.c @@ -427,6 +427,7 @@ png_free(png_ptr, info_ptr->text); info_ptr->text = NULL; info_ptr->num_text=0; + info_ptr->max_text = 0; } } #endif
--- a/png.c +++ b/png.c @@ -427,6 +427,7 @@ png_free(png_ptr, info_ptr->text); info_ptr->text = NULL; info_ptr->num_text=0; + info_ptr->max_text = 0; } } #endif