- security fix: replies by a malicious system can
make ping run into an endless loop (bnc #620837) OBS-URL: https://build.opensuse.org/package/show/network:utilities/iputils?expand=0&rev=9
This commit is contained in:
parent
9f2c3547e5
commit
e2cca62cd5
20
iputils-ss021109-ping-break.diff
Normal file
20
iputils-ss021109-ping-break.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- ping.c 2010-07-08 14:19:50.000000000 +0000
|
||||||
|
+++ ping.c 2010-07-08 14:20:43.000000000 +0000
|
||||||
|
@@ -1019,7 +1019,7 @@
|
||||||
|
i = j;
|
||||||
|
i -= IPOPT_MINOFF;
|
||||||
|
if (i <= 0)
|
||||||
|
- continue;
|
||||||
|
+ break;
|
||||||
|
if (i == old_rrlen
|
||||||
|
&& !bcmp((char *)cp, old_rr, i)
|
||||||
|
&& !(options & F_FLOOD)) {
|
||||||
|
@@ -1056,7 +1056,7 @@
|
||||||
|
i = j;
|
||||||
|
i -= 5;
|
||||||
|
if (i <= 0)
|
||||||
|
- continue;
|
||||||
|
+ break;
|
||||||
|
flags = *++cp;
|
||||||
|
printf("\nTS: ");
|
||||||
|
cp++;
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 8 16:24:50 CEST 2010 - ms@suse.de
|
||||||
|
|
||||||
|
- security fix: replies by a malicious system can
|
||||||
|
make ping run into an endless loop (bnc #620837)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 4 09:22:08 CEST 2010 - ms@suse.de
|
Fri Jun 4 09:22:08 CEST 2010 - ms@suse.de
|
||||||
|
|
||||||
|
@ -50,6 +50,7 @@ Patch16: %name-ss021109-traceroute6-ttab.diff
|
|||||||
Patch17: %name-%version-open_max.diff
|
Patch17: %name-%version-open_max.diff
|
||||||
Patch18: %name-%version-ping-interrupt.diff
|
Patch18: %name-%version-ping-interrupt.diff
|
||||||
Patch19: %name-%version-arping-infiniband.diff
|
Patch19: %name-%version-arping-infiniband.diff
|
||||||
|
Patch20: %name-%version-ping-break.diff
|
||||||
Prefix: %_prefix
|
Prefix: %_prefix
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -85,6 +86,7 @@ Authors:
|
|||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
%patch18
|
%patch18
|
||||||
%patch19
|
%patch19
|
||||||
|
%patch20
|
||||||
mkdir linux
|
mkdir linux
|
||||||
touch linux/autoconf.h
|
touch linux/autoconf.h
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user