Comment 9 for bug 1672276

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Some sort of initialization is missing:

96 struct ebt_u_table *ebt_find_table(const char *name)
97 {
98 struct ebt_u_table *t = ebt_tables;
99
100 while (t && strcmp(t->name, name)) {
101 printf("t->name: %s name: %s", t->name, name);
(gdb) n
98 struct ebt_u_table *t = ebt_tables;
(gdb) n
100 while (t && strcmp(t->name, name)) {
(gdb) p t
$1 = (struct ebt_u_table *) 0x0
(gdb) p name
$2 = 0x602100 <replace> "filter"
(gdb) p ebt_tables
$3 = (struct ebt_u_table *) 0x0