Skip to content

Commit

Permalink
Fix the first two ASAN overflow reports in #1163
Browse files Browse the repository at this point in the history
  • Loading branch information
hsutter committed Jul 15, 2024
1 parent 2cd1aeb commit f19bbae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion regression-tests/test-results/version
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

cppfront compiler v0.7.1 Build 9715:1523
cppfront compiler v0.7.1 Build 9715:1649
Copyright(c) Herb Sutter All rights reserved

SPDX-License-Identifier: CC-BY-NC-ND-4.0
Expand Down
2 changes: 1 addition & 1 deletion source/build.info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"9715:1523"
"9715:1649"
1 change: 1 addition & 0 deletions source/lex.h
Original file line number Diff line number Diff line change
Expand Up @@ -1735,6 +1735,7 @@ auto lex_line(
"string literal \"" + line.substr(i+1, j)
+ "\" is missing its closing \""
);
return {};
}

// At this point we have a string-literal, but it may contain
Expand Down

0 comments on commit f19bbae

Please sign in to comment.