From: Juliana Fajardini Date: Fri, 17 Feb 2023 20:34:09 +0000 (-0300) Subject: misc: fix typos, doc, update copyright years X-Git-Tag: suricata-6.0.14~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05ad4bd9b313764594f3f2f48f392a0316eaf25c;p=thirdparty%2Fsuricata.git misc: fix typos, doc, update copyright years Updated FlowGetNew documentation, where it said NULL was only returned in case of error. (cherry picked from commit f511a4ae3f954a3c55b57a0fdffc0ae22a965dd5) --- diff --git a/src/app-layer.c b/src/app-layer.c index 3e75037ab1..68d4e5e6fb 100644 --- a/src/app-layer.c +++ b/src/app-layer.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2021 Open Information Security Foundation +/* Copyright (C) 2007-2023 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free diff --git a/src/decode.h b/src/decode.h index 33655a5842..91029fa1f1 100644 --- a/src/decode.h +++ b/src/decode.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2022 Open Information Security Foundation +/* Copyright (C) 2007-2023 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free diff --git a/src/defrag-hash.h b/src/defrag-hash.h index 19a9fc0dc6..e01e692e9c 100644 --- a/src/defrag-hash.h +++ b/src/defrag-hash.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2012 Open Information Security Foundation +/* Copyright (C) 2007-2023 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free diff --git a/src/flow-hash.c b/src/flow-hash.c index c9cb8964bd..a77b4e13b3 100644 --- a/src/flow-hash.c +++ b/src/flow-hash.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2020 Open Information Security Foundation +/* Copyright (C) 2007-2023 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -534,7 +534,8 @@ static inline void NoFlowHandleIPS(Packet *p) * \param tv thread vars * \param fls lookup support vars * - * \retval f *LOCKED* flow on succes, NULL on error. + * \retval f *LOCKED* flow on success, NULL on error or if we should not create + * a new flow. */ static Flow *FlowGetNew(ThreadVars *tv, FlowLookupStruct *fls, Packet *p) { diff --git a/src/util-exception-policy.c b/src/util-exception-policy.c index d3a50fb4cc..1812bf0163 100644 --- a/src/util-exception-policy.c +++ b/src/util-exception-policy.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2023 Open Information Security Foundation +/* Copyright (C) 2022-2023 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free diff --git a/src/util-exception-policy.h b/src/util-exception-policy.h index 96e22c6750..924adb31ce 100644 --- a/src/util-exception-policy.h +++ b/src/util-exception-policy.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2022 Open Information Security Foundation +/* Copyright (C) 2022-2023 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free