Disable greedy heuristic dissectors by default

Exablaze and Metamako ethernet trailer dissector heuristics are not
specific enough to limit the data they comsume and identiy as the
respective trailers.  Disable by default.

Fixes: #16898
This commit is contained in:
Jason Cohen 2020-10-07 10:30:41 -05:00 committed by AndersBroman
parent 46c9f2579d
commit 48ff4ae387
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ void
proto_reg_handoff_exablaze(void)
{
heur_dissector_add("eth.trailer", dissect_exablaze, "Exablaze trailer",
"exablaze_eth", proto_exablaze, HEURISTIC_ENABLE);
"exablaze_eth", proto_exablaze, HEURISTIC_DISABLE);
}
/*

View File

@ -437,7 +437,7 @@ proto_register_metamako(void)
void
proto_reg_handoff_metamako(void)
{
heur_dissector_add("eth.trailer", dissect_metamako, "Metamako ethernet trailer", "metamako_eth", proto_metamako, HEURISTIC_ENABLE);
heur_dissector_add("eth.trailer", dissect_metamako, "Metamako ethernet trailer", "metamako_eth", proto_metamako, HEURISTIC_DISABLE);
}
/*