Null deref fix for detect-id.c

remotes/origin/master-1.0.x
William Metcalf 15 years ago committed by Victor Julien
parent 9728e49773
commit 179372978f

@ -166,6 +166,10 @@ DetectIdData *DetectIdParse (char *idstr)
orig = SCStrdup((char*)str_ptr);
tmp_str=orig;
if (tmp_str == NULL) {
goto error;
}
/* Let's see if we need to scape "'s */
if (tmp_str[0] == '"')
{

Loading…
Cancel
Save