[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#196499: marked as done (netdude: bus error on sparc)

Your message dated Sun, 18 Jan 2009 20:10:44 GMT
with message-id <200901182010.n0IKAis7010387@kmos.homeip.net>
and subject line netdude has been removed from Debian, closing #196499
has caused the Debian Bug report #196499,
regarding netdude: bus error on sparc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

196499: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196499
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: netdude
Version: 0.3.3-1
Severity: normal
Tags: upstream patch

Hello, Noel et al.

netdude crashes on sparc due to improper word alignment. The attached
workaround works for me.

With kind regards,

-- System Information:
Debian Release: testing/unstable
Architecture: sparc
Kernel: Linux naryn 2.4.19-ibr #5 Sat Jun 7 12:35:25 EEST 2003 sparc64

Versions of packages netdude depends on:
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an
ii  libglib1.2                    1.2.10-9   The GLib library of C routines
ii  libgtk1.2                     1.2.10-16  The GIMP Toolkit set of widgets fo
ii  libnetdude                    0.3.3-1    NETwork DUmp data Displayer and Ed
ii  libpcap0.7                    0.7.1-1    System interface for user-level pa
ii  xlibs                         4.2.1-7    X Window System client libraries

-- no debconf information

diff -Naur netdude-0.3.3.orig/protocols/ip/nd_ip.c netdude-0.3.3/protocols/ip/nd_ip.c
--- netdude-0.3.3.orig/protocols/ip/nd_ip.c	2002-11-08 19:17:42.000000000 +0200
+++ netdude-0.3.3/protocols/ip/nd_ip.c	2003-06-07 18:35:10.000000000 +0300
@@ -246,8 +246,9 @@
 nd_ip_init_packet(ND_Packet *packet, u_char *data, u_char *data_end)
   ND_Protocol *payload_proto = NULL;
-  struct ip* iphdr = (struct ip*) data;
+  struct ip _iphdr, *iphdr = &_iphdr;
+  memcpy(&_iphdr, data, sizeof _iphdr);
   if (!ip_header_complete(packet, iphdr))

--- End Message ---
--- Begin Message ---
Version: 0.3.3-6+rm

The netdude package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/511962 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
Marco Rodrigues

--- End Message ---

Reply to: