[Snort-devel] Possible alignment issues with snort 2.1.0 on sparc leading

Erik de Castro Lopo erikd+snort at ...2292...
Tue Dec 30 15:42:00 EST 2003


On Thu, 25 Dec 2003 19:37:56 -0500
Kurt Raschke <kurt at ...2295...> wrote:

> Program received signal SIGBUS, Bus error.
> 0x00017e40 in DecodeTCP (pkt=0x1f3f32 "", len=1480, p=0xeffff6a8)
>     at decode.c:2221
> 2221            ph.sip = (u_int32_t)(p->iph->ip_src.s_addr);

I've just had another look at this issue and I can't see how this
value can end up as an unaligned address.

Would it be possible to supply the addresses of the following:

	p->iph->ip_src.s_addr
	p->iph->ip_src
	p->iph
	p

Erik
-- 
------------------------------------------------------
[N] Erik de Castro Lopo, Senior Computer Engineer
[E] erik.de.castro.lopo at ...2292...
[W] http://www.sensorynetworks.com
[T] +61 2 83022726 
[F] +61 2 94750316 
[A] L4/140 William St, East Sydney NSW 2011, Australia
------------------------------------------------------




More information about the Snort-devel mailing list