On Mon, Feb 18, 2002 at 07:30:22AM -0500, Laurence J. Lane wrote:

> Package: iptables
> Version: 1.2.5-1
> 
> When invoked with -p proto_num option, iptables receives SIGSEGV if
> proto_num is not listed in /etc/protocols. Here is a transcript:
> 
> $ iptables -A INPUT -p 7 --destination-port 139 -j DNAT --to-destination
> 192.168.200.202:139
> Segmentation fault
> $
> 
> This problem occures because find_proto function passes the return value
> of proto_to_name to find_match in iptables.c without checking for NULL value.
> The following patch should solve the problem:

Thanks, patch applied to CVS.

-- 
Live long and prosper
- Harald Welte / [EMAIL PROTECTED]               http://www.gnumonks.org/
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ 
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

Attachment: msg00004/pgp00000.pgp
Description: PGP signature

Reply via email to