[PATCH] ip_conntrack_ftp segfault

Nicolas Bouliane nib at cookinglinux.org
Tue Jan 4 19:45:41 CET 2005


Pablo Neira wrote:
> nice catch, but read the comments below.

> Since this is a minor fix, try to modify as less things as you can. data 
> doesn't exist but look for its natural replacement which is fb_ptr.

Hey Pablo, thanks for the hints! :)

>> This patch fix two bugs (when DEBUGP is defined):
>> o The var `data` doesn't exist, hence gcc complains.
>> o It segfault because we print an integer with `%s`.

Signed-off-by: Nicolas Bouliane <nib at cookinglinux.org>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip_conntrack_ftp.c.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20050104/39f3da69/ip_conntrack_ftp.c.bin


More information about the netfilter-devel mailing list