Группа :: Мониторинг
Пакет: cfengine
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: cfengine-2.1.20-ipv6-overflow.patch
--- cfengine-2.1.20-orig/src/item.c 2006-04-30 20:04:04.000000000 +0200
+++ cfengine-2.1.20/src/item.c 2006-04-30 20:04:18.000000000 +0200
@@ -666,7 +666,7 @@
if (isv4 && isrange)
{
long i, from = -1, to = -1;
- char *sp1,buffer1[8];
+ char *sp1,buffer1[CF_MAX_IP_LEN];
sp1 = s;
@@ -830,7 +830,7 @@
else
{
long i, from = -1, to = -1, cmp = -1;
- char *sp1,*sp2,buffer1[8],buffer2[8];
+ char *sp1,*sp2,buffer1[CF_MAX_IP_LEN],buffer2[CF_MAX_IP_LEN];
sp1 = s1;
sp2 = s2;
@@ -919,7 +919,7 @@
else
{
long i, from = -1, to = -1, cmp = -1;
- char *sp1,*sp2,buffer1[16],buffer2[16];
+ char *sp1,*sp2,buffer1[CF_MAX_IP_LEN],buffer2[CF_MAX_IP_LEN];
sp1 = s1;
sp2 = s2;