Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: segmentation fault

From: <maxmagna(at)hotmail.com>
Date: Tue Apr 08 2003 - 17:49:23 EDT

Thanks for the hint. I did use the libnet version from your website, which includes also the patch you recommended. unfortunately it didn't fix the problem. I'll try to look a bit more into the problem and collect more precise information.

  • Original Message ----- From: "Frédéric Raynal" <frederic.raynal@security-labs.org> To: "Max Magnaghi" <maxmagna@hotmail.com> Cc: <libnet@securityfocus.com> Sent: Monday, April 07, 2003 11:36 PM Subject: Re: segmentation fault

> On Mon, Apr 07, 2003 at 10:26:26PM -0000, Max Magnaghi wrote:
code
> > to understand how to use its API correctly.
> >
> > What I need to do is pretty straightforward. I need to: 1.) build TCP
> > packets; 2.) copy them into a buffer (I am not going to use libnet to
> > write packets to the wire, but I want to have the complete TCP packet,
up
> > to the IP header in a contiguous chunk of memory); 3.) destroy libnet.
> >
> > I have a piece of working code actually, but for some reason I get
random
> > memory access violations when I invoke libnet_destroy, after building
one
> > of my packets. I am not sure whether I am doing something in the wrong
> > way, causing a segmentation fault in libnet.
> >
> > Any suggestion or pointer would be appreciated very much.
>
> This looks like the bug "attempt to free memory on the stack" I fixed



To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Tue Apr 8 17:49:33 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:23 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library