From cf3ce538a7c735a1f4596b88044806fcd6a9fd51 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/detect-asn1.c b/src/detect-asn1.c index 66ee57a..016a162 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); -- 1.6.5