mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-10 02:04:36 +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;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ int DSOLOCAL is_token_char(unsigned char c);
|
||||
|
||||
int DSOLOCAL remove_lf_crlf_inplace(char *text);
|
||||
|
||||
unsigned DSOLOCAL char x2c(unsigned char *what);
|
||||
unsigned char DSOLOCAL x2c(unsigned char *what);
|
||||
|
||||
char DSOLOCAL *guess_tmp_dir(apr_pool_t *p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user