socklen_t optlen;
struct ebt_replace repl;
struct ebt_cntchanges *cc = u_repl->cc->next, *cc2;
- struct ebt_u_entries *entries;
+ struct ebt_u_entries *entries = NULL;
struct ebt_u_entry *next = NULL;
int i, chainnr = 0;
{
int i, j, k, hook;
struct ebt_replace repl;
- struct ebt_u_entry *u_e;
- struct ebt_cntchanges *new_cc, *cc;
+ struct ebt_u_entry *u_e = NULL;
+ struct ebt_cntchanges *new_cc = NULL, *cc;
strcpy(repl.name, u_repl->name);
if (u_repl->filename != NULL) {
char *buffer;
int c, i;
int zerochain = -1; /* Needed for the -Z option (we can have -Z <this> -L <that>) */
- int chcounter; /* Needed for -C */
+ int chcounter = 0; /* Needed for -C */
int policy = 0;
int rule_nr = 0;
int rule_nr_end = 0;