fixed crash in the text parser (amb718)
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401266
This commit is contained in:
parent
70f22ab3ab
commit
ccaa7c95f2
@ -216,7 +216,10 @@ const char *FixupString(StringInfo &data)
|
||||
}
|
||||
}
|
||||
|
||||
*(data.end) = '\0';
|
||||
if (data.end)
|
||||
{
|
||||
*(data.end) = '\0';
|
||||
}
|
||||
|
||||
return data.ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user