Skip to content

Commit

Permalink
possibly fixed crashing on MOF Providers found by @ITeaSec
Browse files Browse the repository at this point in the history
  • Loading branch information
pathtofile committed Mar 29, 2022
1 parent 4a97b12 commit a21de27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sealighter/sealighter_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ void handle_event
const trace_context& trace_context
)
{
handle_event_context(record, trace_context, NULL);
auto dummy_context = std::make_shared<struct sealighter_context_t>("", false);
handle_event_context(record, trace_context, dummy_context);
}

int setup_logger_file
Expand Down

0 comments on commit a21de27

Please sign in to comment.