mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Imported from libpng-1.6.0beta27.tar
This commit is contained in:
@@ -4710,21 +4710,21 @@ standard_check_text(png_const_structp pp, png_const_textp tp,
|
||||
|
||||
if (tp->itxt_length != 0)
|
||||
pos = safecat(msg, sizeof msg, pos, "iTXt length set, ");
|
||||
|
||||
|
||||
if (tp->lang != NULL)
|
||||
{
|
||||
pos = safecat(msg, sizeof msg, pos, "iTXt language \"");
|
||||
pos = safecat(msg, sizeof msg, pos, tp->lang);
|
||||
pos = safecat(msg, sizeof msg, pos, "\", ");
|
||||
}
|
||||
|
||||
|
||||
if (tp->lang_key != NULL)
|
||||
{
|
||||
pos = safecat(msg, sizeof msg, pos, "iTXt keyword \"");
|
||||
pos = safecat(msg, sizeof msg, pos, tp->lang_key);
|
||||
pos = safecat(msg, sizeof msg, pos, "\", ");
|
||||
}
|
||||
|
||||
|
||||
if (pos > ok)
|
||||
{
|
||||
msg[pos-2] = '\0'; /* Remove the ", " at the end */
|
||||
|
||||
Reference in New Issue
Block a user