hmmlconv.c: Syntax check unescaped " mid-line

This commit is contained in:
Matt Mascarenhas 2017-05-02 10:52:50 +01:00
parent edf3975646
commit 7d600534cd
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ char *InPlaceUnescape(char *In)
*Out++ = *In++;
}
if(*In != '"')
if(*In != '"' || In[1] != '\0')
{
return NULL;
}