mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-26 14:52:20 +00:00
fix(userspace/engine): avoid reading duplicate exception values
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
parent
ccd3c896de
commit
cf9baea624
@ -139,9 +139,9 @@ static void decode_exception_info_entry(
|
|||||||
if (val.IsSequence())
|
if (val.IsSequence())
|
||||||
{
|
{
|
||||||
out.is_list = true;
|
out.is_list = true;
|
||||||
rule_loader::rule_exception_info::entry tmp;
|
|
||||||
for(const YAML::Node& v : val)
|
for(const YAML::Node& v : val)
|
||||||
{
|
{
|
||||||
|
rule_loader::rule_exception_info::entry tmp;
|
||||||
rule_loader::context lctx(v, rule_loader::context::EXCEPTION, "", valctx);
|
rule_loader::context lctx(v, rule_loader::context::EXCEPTION, "", valctx);
|
||||||
|
|
||||||
// Optional is always false once you get past the outer values
|
// Optional is always false once you get past the outer values
|
||||||
|
Loading…
Reference in New Issue
Block a user