Hi,
When compiling the following source
http://packages.debian.org/sid/net-tools
version 1.60 orig plus -23 patch
I found a few bugs.
Here follows three patches.
73 de Bernard, f6bvp
--- net-tools-1.60-23/lib/x25_sr.c 2000-05-20 15:38:10.000000000 +0200
+++ net-tools-1.60-23/lib/x25_sr.c 2009-11-20 16:36:22.253146541 +0100
@@ -77,7 +77,7 @@
rt.sigdigits=sigdigits;
/* x25_route_struct.address isn't type struct sockaddr_x25, Why? */
- memcpy(&rt.address, &sx25.sx25_addr, sizeof(x25_address));
+ memcpy(&rt.address, &sx25.sx25_addr, sizeof(sx25.sx25_addr));
while (*args) {
if (!strcmp(*args,"device") || !strcmp(*args,"dev")) {
[Linux Newbie]
[Kernel Newbies]
[Memory]
[Git]
[Security]
[Netfilter]
[Linux Admin]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[ARM Linux Kernel]
[Linux Networking]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Linux Resources]