rpms/iproute/F-9 iproute2-2.6.25-segfault.patch,NONE,1.1
Marcela Mašláňová (mmaslano)
fedora-extras-commits at redhat.com
Tue Aug 12 13:50:09 UTC 2008
- Previous message (by thread): rpms/mediascrapper/F-9 mediascrapper.spec,NONE,1.1 sources,1.1,1.2
- Next message (by thread): rpms/util-linux-ng/F-9 mount-add-docs-about-utf8-0-for-vfat.patch, NONE, 1.1 rtcwake-rebase-2.14.1.patch, NONE, 1.1 write-doesn-t-check-for-tty-group.patch, NONE, 1.1 util-linux-ng.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mmaslano
Update of /cvs/pkgs/rpms/iproute/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21164
Added Files:
iproute2-2.6.25-segfault.patch
Log Message:
ops, forgot patch.
iproute2-2.6.25-segfault.patch:
--- NEW FILE iproute2-2.6.25-segfault.patch ---
diff -up iproute-2.6.26/iproute2-2.6.26/ip/xfrm_state.c.seg iproute-2.6.26/iproute2-2.6.26/ip/xfrm_state.c
--- iproute-2.6.26/iproute2-2.6.26/ip/xfrm_state.c.seg 2008-07-21 17:23:12.000000000 +0200
+++ iproute-2.6.26/iproute2-2.6.26/ip/xfrm_state.c 2008-07-22 09:27:12.000000000 +0200
@@ -158,12 +158,16 @@ static int xfrm_algo_parse(struct xfrm_a
buf[j] = val;
}
} else {
+ int i;
len = slen;
if (len > 0) {
if (len > max)
invarg("\"ALGOKEY\" makes buffer overflow\n", key);
- strncpy(buf, key, len);
+ for (i = 0 ; i < len && key[i] != '\0'; i++)
+ buf[i] = key[i];
+ for ( ; i < len; i++)
+ buf[i] = '\0';
}
}
- Previous message (by thread): rpms/mediascrapper/F-9 mediascrapper.spec,NONE,1.1 sources,1.1,1.2
- Next message (by thread): rpms/util-linux-ng/F-9 mount-add-docs-about-utf8-0-for-vfat.patch, NONE, 1.1 rtcwake-rebase-2.14.1.patch, NONE, 1.1 write-doesn-t-check-for-tty-group.patch, NONE, 1.1 util-linux-ng.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list