mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix a confusing variable name shadowing
This commit is contained in:
parent
ffe8a018a1
commit
f70ecccc34
3 changed files with 7 additions and 3 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
||||||
|
|
||||||
|
3.2.0-dev.394 | 2020-04-14 15:29:00 -0700
|
||||||
|
|
||||||
|
* Fix a confusing variable name shadowing (Jon Siwek, Corelight)
|
||||||
|
|
||||||
3.2.0-dev.392 | 2020-04-14 11:06:04 -0700
|
3.2.0-dev.392 | 2020-04-14 11:06:04 -0700
|
||||||
|
|
||||||
* Fix Stack Overflow in POP3_Analyzer::ProcessRequest. (Johanna Amann, Corelight)
|
* Fix Stack Overflow in POP3_Analyzer::ProcessRequest. (Johanna Amann, Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
3.2.0-dev.392
|
3.2.0-dev.394
|
||||||
|
|
|
@ -1341,8 +1341,8 @@ static void find_nested_record_types(BroType* t, std::set<RecordType*>* found)
|
||||||
return;
|
return;
|
||||||
case TYPE_LIST:
|
case TYPE_LIST:
|
||||||
{
|
{
|
||||||
for ( auto& t : *t->AsTypeList()->Types() )
|
for ( auto& type : *t->AsTypeList()->Types() )
|
||||||
find_nested_record_types(t, found);
|
find_nested_record_types(type, found);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case TYPE_FUNC:
|
case TYPE_FUNC:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue