Magellan Linux

Contents of /trunk/ebtables/patches/ebtables-2.0.10.4-segfaultfix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1993 - (show annotations) (download)
Tue Dec 18 09:37:09 2012 UTC (11 years, 4 months ago) by niro
File size: 348 byte(s)
-added patch to fix segfaults
1 --- ebtables-v2.0.8-rc2/libebtc.c.BAD 2006-09-14 13:53:38.000000000 -0500
2 +++ ebtables-v2.0.8-rc2/libebtc.c 2006-09-14 13:53:54.000000000 -0500
3 @@ -1033,7 +1033,7 @@
4 stack[sp].e = e;
5 sp++;
6 j = -1;
7 - e = entries2->entries;
8 + e = entries2->entries->next;
9 chain_nr = verdict + NF_BR_NUMHOOKS;
10 entries = entries2;
11 continue;