mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 06:57:10 +03:00
Backport octal ansi escape fix for #423. See $435.
This commit is contained in:
@@ -889,7 +889,7 @@ int ansi_c_sequences_decode_inplace(unsigned char *input, int input_len) {
|
||||
}
|
||||
}
|
||||
else
|
||||
if (isdigit(input[i + 1])) { /* Octal. */
|
||||
if (ISODIGIT(input[i + 1])) { /* Octal. */
|
||||
char buf[10];
|
||||
int j = 0, l = 3;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user