From: Alex Coyte Date: Mon, 27 Feb 2017 05:46:24 +0000 (+1100) Subject: lbr: set lastEscape on expand X-Git-Tag: v4.4.1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31dd33a9beb0fd97fa5d7401766c27e81fc4e426;p=thirdparty%2Fvectorscan.git lbr: set lastEscape on expand --- 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