Revise png_set_text_2() to avoid potential memory corruption (fixes CVE-2011-3048)

Bug: 6343606
Change-Id: I654fa367c4c3122bba1f99a495e680b75b2db978
1 file changed