Skip to content

Commit

Permalink
Fix OOB read bug - issue 6833
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiaaberegg committed Aug 13, 2024
1 parent 9ce4b8a commit 04a30d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/parsers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2329,6 +2329,7 @@ Result<> makeArrayInitElem(Ctx& ctx,
auto type = typeidx(ctx);
CHECK_ERR(type);
auto elem = elemidx(ctx);
CHECK_ERR(elem);
return ctx.makeArrayInitElem(pos, annotations, *type, *elem);
}

Expand Down

0 comments on commit 04a30d8

Please sign in to comment.