]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: add ticket id to var related todos
authorVictor Julien <vjulien@oisf.net>
Wed, 13 Mar 2024 10:03:01 +0000 (11:03 +0100)
committerVictor Julien <vjulien@oisf.net>
Fri, 28 Jun 2024 05:39:48 +0000 (07:39 +0200)
src/detect-engine-register.h
src/util-var.h

index 1a8a7828255382568ecd3477de9dd3863d4525c5..04619cb01efbc95e9cfbf91012e190fe2db03fc8 100644 (file)
@@ -55,7 +55,7 @@ enum DetectKeywordId {
     /* end prefilter sort */
 
     /* values used in util-var.c go here, to avoid int overflows
-     * TODO update var logic to use a larger type. */
+     * TODO update var logic to use a larger type, see #6855. */
     DETECT_THRESHOLD,
     DETECT_FLOWBITS,
     DETECT_FLOWVAR,
index fe3010097da780224d1fa7cb17d744608d032ca9..4732b46e479cf5304a745b10a0a588e490f77ece 100644 (file)
@@ -46,6 +46,7 @@ enum VarTypes {
     VAR_TYPE_IPPAIR_VAR,
 };
 
+/** \todo see ticket #6855. The type field should be 16 bits. */
 typedef struct GenericVar_ {
     uint8_t type; /**< variable type, uses detection sm_type */
     uint8_t pad[3];