aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2005-08-09 23:23:53 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:51:25 -0400
commit8a61fadb3908454ccfa538aaa75eb1d22def5700 (patch)
treee3e2b131c03b3cab2f81e6cdeeaadf50071046b9 /include
parentd72367b6f36e557f122beefaa8c6b80eb1c7f245 (diff)
[NETFILTER]: check nf_log function call arguments
Check whether pf is too large in order to prevent array overflow. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index bf430fcbe364..ac3c61411d4b 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -157,7 +157,7 @@ struct nf_logger {
157 157
158/* Function to register/unregister log function. */ 158/* Function to register/unregister log function. */
159int nf_log_register(int pf, struct nf_logger *logger); 159int nf_log_register(int pf, struct nf_logger *logger);
160void nf_log_unregister_pf(int pf); 160int nf_log_unregister_pf(int pf);
161void nf_log_unregister_logger(struct nf_logger *logger); 161void nf_log_unregister_logger(struct nf_logger *logger);
162 162
163/* Calls the registered backend logging function */ 163/* Calls the registered backend logging function */