Null deref fix for detect-tls-version.c

remotes/origin/master-1.0.x
William Metcalf 16 years ago committed by Victor Julien
parent 32a2da147b
commit 9728e49773

@ -177,6 +177,10 @@ DetectTlsVersionData *DetectTlsVersionParse (char *str)
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