Commit 46faa6b4 authored by conrad's avatar conrad
Browse files

Mozilla 520500: test for (len > 0)

This change was present in the patch for 520500 but not 521863.
Applied separately after discussion with Chris Pearce.
parent ac2015db
......@@ -503,7 +503,7 @@ fish_sound_comments_decode (FishSound * fsound, unsigned char * comments,
}
fs_free (nvalue);
} else {
} else if (len > 0) {
debug_printf (1, "[%d] %s (no value)", i, name, len);
if ((nvalue = fs_strdup_len (name, len)) == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment