commit | 0f2adc19eb971903fff6168a41f50e5ca362f86e | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Sep 10 09:47:29 2017 -0500 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Sep 10 09:47:29 2017 -0500 |
tree | d43085e9eff6ca6e2e0a520a71e3aaf190028d77 | |
parent | 1aabcfdbaed72d091216579463dfd511ad1a7a3e [diff] |
[libpng16] Trying to avoid a UMR in png_set_text_2(().
diff --git a/pngset.c b/pngset.c index 15531bb..d5e683b 100644 --- a/pngset.c +++ b/pngset.c
@@ -886,7 +886,7 @@ if (text_ptr[i].text == NULL) text_is_null=1; - if (text_ptr[i].text[0] == '\0') + else if (text_ptr[i].text[0] == '\0') text_0_is_0=1; if (text_is_null)