Skip to content

Commit

Permalink
bbox_derive: fix unininitialized memory UB when run with no named args
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed May 3, 2024
1 parent 4c000d3 commit e8c58a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passes/cmds/bbox_derive.cc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct BboxDerivePass : Pass {
}
extra_args(args, argidx, d);

Module *base_override;
Module *base_override = nullptr;
if (!base_name.empty()) {
base_override = d->module(base_name);
if (!base_override)
Expand Down

0 comments on commit e8c58a5

Please sign in to comment.