coverity fix: don't do pointer check on static array

pull/1454/head
Victor Julien 10 years ago
parent b9aaf5a9ab
commit 54d5e2eed5

@ -275,7 +275,7 @@ int SCClassConfAddClasstype(char *rawstr, uint8_t index, DetectEngineCtx *de_ctx
SCLogInfo("pcre_copy_substring() failed");
goto error;
}
if (ct_priority_str == NULL) {
if (strlen(ct_priority_str) == 0) {
goto error;
}

Loading…
Cancel
Save