|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
/* Copyright (C) 2007-2010 Open Information Security Foundation
|
|
|
|
|
/* Copyright (C) 2007-2021 Open Information Security Foundation
|
|
|
|
|
*
|
|
|
|
|
* You can copy, redistribute or modify this Program under the terms of
|
|
|
|
|
* the GNU General Public License version 2 as published by the Free
|
|
|
|
@ -60,7 +60,7 @@ static int DetectSidSetup (DetectEngineCtx *de_ctx, Signature *s, const char *si
|
|
|
|
|
goto error;
|
|
|
|
|
}
|
|
|
|
|
if (id >= UINT_MAX) {
|
|
|
|
|
SCLogError(SC_ERR_INVALID_NUMERIC_VALUE, "sid value to high, max %u", UINT_MAX);
|
|
|
|
|
SCLogError(SC_ERR_INVALID_NUMERIC_VALUE, "sid value too high, max %u", UINT_MAX);
|
|
|
|
|
goto error;
|
|
|
|
|
}
|
|
|
|
|
if (id == 0) {
|
|
|
|
|