From f11949ca4751ae92b3c5a949e311dceb8844e760 Mon Sep 17 00:00:00 2001 From: Fupeng Zhao Date: Thu, 19 Jun 2025 14:14:30 +0800 Subject: [PATCH] detect/byte: update comments to reflect current parsing logic --- src/detect-byte-extract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-byte-extract.c b/src/detect-byte-extract.c index 701feff4cb..3b69137326 100644 --- a/src/detect-byte-extract.c +++ b/src/detect-byte-extract.c @@ -129,7 +129,7 @@ int DetectByteExtractDoMatch(DetectEngineThreadCtx *det_ctx, const SigMatchData extbytes = ByteExtractStringUint64(&val, data->base, data->nbytes, (const char *)ptr); if (extbytes <= 0) { - /* strtoull() return 0 if there is no numeric value in data string */ + /* ByteExtractStringUint64() set val to 0 if there is no numeric value in data string */ if (val == 0) { SCLogDebug("No Numeric value"); return 0;