Fixed buffer overflow if the tag name length is more than 64.