From: Patrick McHardy Date: Thu, 7 Jan 2010 17:33:18 +0000 (+0100) Subject: netfilter: nf_ct_ftp: fix out of bounds read in update_nl_seq() X-Git-Tag: v2.6.33-rc4~10^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaff23a95aea5f000895f50d90e91f1e2f727002;p=pandora-kernel.git netfilter: nf_ct_ftp: fix out of bounds read in update_nl_seq() As noticed by Dan Carpenter , update_nl_seq() currently contains an out of bounds read of the seq_aft_nl array when looking for the oldest sequence number position. Fix it to only compare valid positions. Cc: stable@kernel.org Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed