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-7.0.0-rc2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f511a4ae3f954a3c55b57a0fdffc0ae22a965dd5;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. --- diff --git a/src/app-layer.c b/src/app-layer.c index 67b8807314..b031afce8a 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 b11963bf4e..1a844525da 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 ffbc054cd9..b115b13a91 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 9edd6d1dae..18f35453d6 100644 --- a/src/flow-hash.c +++ b/src/flow-hash.c @@ -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 @@ -655,7 +655,8 @@ static inline void NoFlowHandleIPS(Packet *p) * \param tv thread vars * \param fls lookup support vars * - * \retval f *LOCKED* flow on success, 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/stream-tcp.h b/src/stream-tcp.h index 76ccb8ec4c..3246712459 100644 --- a/src/stream-tcp.h +++ b/src/stream-tcp.h @@ -95,7 +95,7 @@ typedef struct StreamTcpThread_ { uint16_t counter_tcp_midstream_pickups; /** wrong thread */ uint16_t counter_tcp_wrong_thread; - /** ack for unseed data */ + /** ack for unseen data */ uint16_t counter_tcp_ack_unseen_data; /** tcp reassembly thread data */ diff --git a/src/util-exception-policy.c b/src/util-exception-policy.c index 4513bbb0f2..b3cf2952c0 100644 --- a/src/util-exception-policy.c +++ b/src/util-exception-policy.c @@ -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 diff --git a/src/util-exception-policy.h b/src/util-exception-policy.h index 550d4d32c4..c304f3e3f4 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