Skip to content

Commit

Permalink
fix #7343
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Aug 14, 2024
1 parent ed17de5 commit 6565455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opt/opt_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class opt_stream_buffer {
bool opt_stream_buffer::parse_token(char const* token) {
skip_whitespace();
char const* t = token;
while (*t && ch() == *t) {
while (*t && ch() && ch() == *t) {
next();
++t;
}
Expand Down

1 comment on commit 6565455

@RootUp
Copy link

@RootUp RootUp commented on 6565455 Sep 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.