iptables tftp uninitialized variable fix
Subsystems (2)
PATCH 1/1 iptables tftp uninitialized variable fix
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
# net/ipv4/netfilter/ip_nat_tftp.c 1.1 -> 1.2
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/07/21 [email protected] 1.1020
# [NETFILTER]: fix uninitialized return value in ip_nat_tftp.c
# --------------------------------------------
#
net/ipv4/netfilter/ip_nat_tftp.c +1 -1
@@ -153,7 +153,7 @@static int __init init (void ) { -int i, ret; +int i, ret =0 ;char *tmpname;if (!ports[0 ])
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "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
I've applied all of your 2.6.x and 2.4.x patches,
thanks Harald.