diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:45:11 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 02:45:11 (GMT) |
commit | 679e855206798435f8b168db6426e283e1f70a12 (patch) | |
tree | dbf18b94a3b97b482e3d102dd89c981e878dcfd8 /abs/core/iputils/iputils-20101006-ping-integer-overflow.patch | |
parent | eb759090b560237861c2c8a351f989fc7bb92a39 (diff) | |
download | linhes_pkgbuild-679e855206798435f8b168db6426e283e1f70a12.zip linhes_pkgbuild-679e855206798435f8b168db6426e283e1f70a12.tar.gz linhes_pkgbuild-679e855206798435f8b168db6426e283e1f70a12.tar.bz2 |
iputils 20101006
Diffstat (limited to 'abs/core/iputils/iputils-20101006-ping-integer-overflow.patch')
-rw-r--r-- | abs/core/iputils/iputils-20101006-ping-integer-overflow.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/iputils/iputils-20101006-ping-integer-overflow.patch b/abs/core/iputils/iputils-20101006-ping-integer-overflow.patch new file mode 100644 index 0000000..720e5e8 --- /dev/null +++ b/abs/core/iputils/iputils-20101006-ping-integer-overflow.patch @@ -0,0 +1,11 @@ +--- iputils-s20101006/ping_common.c 2010-10-06 13:59:20.000000000 +0200 ++++ iputils-s20101006-patched/ping_common.c 2012-03-09 16:42:46.878151032 +0100 +@@ -590,7 +590,7 @@ + + /* If we are here, recvmsg() is unable to wait for + * required timeout. */ +- if (1000*next <= 1000000/(int)HZ) { ++ if (((uint64_t)1000*next) <= (uint64_t)1000000/(int)HZ) { + /* Very short timeout... So, if we wait for + * something, we sleep for MININTERVAL. + * Otherwise, spin! */ |