ebtables/ebtables-v2.0.8-rc2-segfaultfix.patch

12 lines
348 B
Diff
Raw Normal View History

2006-09-14 19:01:04 +00:00
--- ebtables-v2.0.8-rc2/libebtc.c.BAD 2006-09-14 13:53:38.000000000 -0500
+++ ebtables-v2.0.8-rc2/libebtc.c 2006-09-14 13:53:54.000000000 -0500
@@ -1033,7 +1033,7 @@
stack[sp].e = e;
sp++;
j = -1;
- e = entries2->entries;
+ e = entries2->entries->next;
chain_nr = verdict + NF_BR_NUMHOOKS;
entries = entries2;
continue;