net-tools/net-tools-1.60-gcc34.patch
cvsdist 10a94dd4b0 auto-import changelog data from net-tools-1.60-25.src.rpm
Thu Apr 15 2004 Phil Knirsch <pknirsch@redhat.com> 1.60-25
- Fixed several possible buffer overflows (#120343)
Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 1.60-24
- fixed compilation with gcc34
2004-09-09 09:12:39 +00:00

37 lines
776 B
Diff

--- net-tools-1.60/lib/inet_sr.c.gcc34 2000-02-20 22:46:45.000000000 +0100
+++ net-tools-1.60/lib/inet_sr.c 2004-03-30 15:57:25.276049571 +0200
@@ -105,6 +105,7 @@
case 2:
isnet = 0; break;
default:
+ ;
}
/* Fill in the other fields. */
--- net-tools-1.60/hostname.c.gcc34 2004-03-30 15:58:12.979830341 +0200
+++ net-tools-1.60/hostname.c 2004-03-30 15:58:47.110380585 +0200
@@ -98,6 +98,7 @@
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
default:
+ ;
}
exit(1);
};
@@ -117,6 +118,7 @@
fprintf(stderr, _("%s: name too long\n"), program_name);
break;
default:
+ ;
}
exit(1);
};
@@ -180,6 +182,7 @@
printf("%s\n", hp->h_name);
break;
default:
+ ;
}
}