mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
good practices: Initialize variables before use it
Original author: Marc Stern (#1889)
This commit is contained in:
@@ -42,7 +42,8 @@ char *parse_pm_content(const char *op_parm, unsigned short int op_len, const cha
|
||||
// char converted = 0;
|
||||
int i, x;
|
||||
unsigned char bin = 0, esc = 0, bin_offset = 0;
|
||||
unsigned char bin_parm[3], c = 0;
|
||||
unsigned char c = 0;
|
||||
unsigned char bin_parm[3] = { 0 };
|
||||
char *processed = NULL;
|
||||
|
||||
content = strdup(op_parm);
|
||||
|
Reference in New Issue
Block a user