File libpng15-CVE-2016-10087.patch of Package libpng15.3389

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