Bug #451 » 0002-Add-a-nice-error-message-when-we-exceeded-address-bu.patch
| src/detect-engine-address.c | ||
|---|---|---|
|
SCLogDebug("s %s negate %s", s, negate ? "true" : "false");
|
||
|
for (u = 0, x = 0; u < size && x < sizeof(address); u++) {
|
||
|
if (x == (sizeof(address) - 1)) {
|
||
|
SCLogError(SC_ERR_ADDRESS_ENGINE_GENERIC, "Hit the address buffer"
|
||
|
" limit for the supplied address. Invalidating sig. "
|
||
|
"Please file a bug report on this.");
|
||
|
goto error;
|
||
|
}
|
||
|
address[x] = s[u];
|
||
|
x++;
|
||
| src/util-error.c | ||
|---|---|---|
|
CASE_CODE (SC_ERR_POOL_INIT);
|
||
|
CASE_CODE (SC_ERR_UNIMPLEMENTED);
|
||
|
CASE_CODE (SC_ERR_FAST_LOG_GENERIC);
|
||
|
CASE_CODE (SC_ERR_ADDRESS_ENGINE_GENERIC);
|
||
|
CASE_CODE (SC_ERR_IPONLY_RADIX);
|
||
|
CASE_CODE (SC_ERR_DEBUG_LOG_GENERIC);
|
||
|
CASE_CODE (SC_ERR_UNIFIED_LOG_GENERIC);
|
||
- « Previous
- 1
- 2
- 3
- Next »