From 7003dc5c0d0bb3be466c95f3a819f4a187fe700f Mon Sep 17 00:00:00 2001 From: Pablo Rincon Date: Wed, 30 Jun 2010 11:44:19 +0200 Subject: [PATCH] Fix valgrind ctx error on asn1 test 06 --- src/detect-asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-asn1.c b/src/detect-asn1.c index 66ee57aba1..016a16202b 100644 --- a/src/detect-asn1.c +++ b/src/detect-asn1.c @@ -967,7 +967,7 @@ int DetectAsn1Test06(void) { if (ac == NULL) return 0; - uint16_t len = 261; + uint16_t len = 260; SCAsn1CtxInit(ac, str, len);