Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 22:32:23 -0400 (EDT)
From:      Rich Bud <rbud@fortean.com>
To:        Bernd Walter <ticso@cicely5.cicely.de>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, <freebsd-alpha@FreeBSD.org>
Subject:   Re: natd sig 10 under stable
Message-ID:  <20020515222924.I30036-100000@nemesis.fortean.com>
In-Reply-To: <20020515235351.GO4401@cicely5.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Can you please print pip, *pip, uh, p and nsh in AliasHandleUdpNbtNS()?

(gdb) print pip
$1 = (struct ip *) 0x11feb910
(gdb) print *pip
$2 = {ip_hl = 0, ip_v = 0, ip_tos = 0 '\000', ip_len = 256, ip_id = 256, ip_off = 0, ip_ttl = 0 '\000', ip_p = 0 '\000', ip_sum = 0, ip_src = {s_addr = 0}, ip_dst = {s_addr = 0}}
(gdb) print uh
$3 = (struct udphdr *) 0x0
(gdb) print p
$4 = (u_char *) 0x11feb910 ""
(gdb) print nsh
$5 = (NbtNSHeader *) 0x11feb904
(gdb) print *nsh
$6 = {nametrid = 7168, dir = 1, opcode = 0, nmflags = 0, rcode = 0, qdcount = 256, ancount = 0, nscount = 0, arcount = 0}

After putting in the trap patch i did 'uac -f' and crashed it again.
The only change was a shift, pip -> 0x11feb920 and nsh -> 0x11feb914.

		Hope this helps,
		Rich


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020515222924.I30036-100000>