From 31dd33a9beb0fd97fa5d7401766c27e81fc4e426 Mon Sep 17 00:00:00 2001 From: Alex Coyte Date: Mon, 27 Feb 2017 16:46:24 +1100 Subject: [PATCH] lbr: set lastEscape on expand --- src/nfa/lbr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nfa/lbr.c b/src/nfa/lbr.c index 3075be33..d403733a 100644 --- a/src/nfa/lbr.c +++ b/src/nfa/lbr.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2016, Intel Corporation + * Copyright (c) 2015-2017, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -77,6 +77,7 @@ void lbrExpandState(const struct lbr_common *l, u64a offset, const struct RepeatInfo *info = getRepeatInfo(l); repeatUnpack(stream_state, info, offset, &lstate->ctrl); + lstate->lastEscape = 0; } static really_inline