hmmlconv.c: Syntax check unescaped " mid-line
This commit is contained in:
parent
edf3975646
commit
7d600534cd
|
@ -116,7 +116,7 @@ char *InPlaceUnescape(char *In)
|
||||||
*Out++ = *In++;
|
*Out++ = *In++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(*In != '"')
|
if(*In != '"' || In[1] != '\0')
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue