Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264448AbTHBNWv (ORCPT ); Sat, 2 Aug 2003 09:22:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263637AbTHBNVc (ORCPT ); Sat, 2 Aug 2003 09:21:32 -0400 Received: from coruscant.franken.de ([193.174.159.226]:4054 "EHLO coruscant.gnumonks.org") by vger.kernel.org with ESMTP id S263737AbTHBNUc (ORCPT ); Sat, 2 Aug 2003 09:20:32 -0400 Date: Sat, 2 Aug 2003 15:20:08 +0200 From: Harald Welte To: David Miller Cc: Netfilter Development Mailinglist , Linux Kernel Mailinglist Subject: [PATCH 2.4] iptables tftp uninitialized variable fix Message-ID: <20030802132008.GJ6894@naboo> Mail-Followup-To: Harald Welte , David Miller , Netfilter Development Mailinglist , Linux Kernel Mailinglist Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J+xDcZ1j08+V/OfU" Content-Disposition: inline X-Operating-System: Linux naboo 2.4.20-nfpom1101 X-Date: Today is Pungenday, the 67th day of Confusion in the YOLD 3169 User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2205 Lines: 66 --J+xDcZ1j08+V/OfU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Davem! The below patch fixes an uninitialized return variable in 2.4.x Please apply, thanks. # This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1019 -> 1.1020=20 # net/ipv4/netfilter/ip_nat_tftp.c 1.1 -> 1.2 =20 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/07/21 kaber@trash.net 1.1020 # [NETFILTER]: fix uninitialized return value in ip_nat_tftp.c # -------------------------------------------- # diff -Nru a/net/ipv4/netfilter/ip_nat_tftp.c b/net/ipv4/netfilter/ip_nat_tf= tp.c --- a/net/ipv4/netfilter/ip_nat_tftp.c Mon Jul 21 02:20:24 2003 +++ b/net/ipv4/netfilter/ip_nat_tftp.c Mon Jul 21 02:20:24 2003 @@ -153,7 +153,7 @@ =20 static int __init init(void) { - int i, ret; + int i, ret =3D 0; char *tmpname; =20 if (!ports[0]) --=20 - Harald Welte http://www.netfilter.org/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie --J+xDcZ1j08+V/OfU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K7qHXaXGVTD0i/8RAtjoAJ9lPAUDZubuS0gHNvzB6RfO+7qoswCfb9vU Mwqn+LdhlDUHVjcA0f0nrDc= =Rbp4 -----END PGP SIGNATURE----- --J+xDcZ1j08+V/OfU-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/