Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2003 22:51:22 -0700 (PDT)
From:      Brian Buchanan <bwb@holo.org>
To:        "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc:        hackers@freebsd.org
Subject:   Re: Netgraph node, first steps in kernel land and a bloody crash dump
Message-ID:  <20030803224202.V63360-100000@thought.holo.org>
In-Reply-To: <20030804051326.GY95375@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> OK, what we see here is that the printf call calls putchar() to print
> the individual characters.  The one it's printing now is 0x69 (frame
> 7), lowercase 'i'.  That's not in the (first) string passed to
> printf(), but it could be in another parameter, or in the format
> string.

It's actually 69 decimal, or 'E', which would be consistent with the
format string.  Looking at line 355 of subr_prf.c, I'm going to hazard a
guess that something smashed the value of v_putc, which should have been
pointing to cnputc().  Could have been a stack smash inside cnputc, too,
but I don't see any obvious way that could have happened.

- Brian

-- 
Brian Buchanan, CISSP                                         bwb@holo.org
--------------------------------------------------------------------------
FreeBSD - The Power to Serve!                       http://www.freebsd.org



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