Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
yaml-cpp
Commits
487f381a
"vscode:/vscode.git/clone" did not exist on "3d574b3bbe0720fe753ed9a2411d7bdc52995f05"
Commit
487f381a
authored
Jul 31, 2009
by
Jesse Beder
Browse files
Fixed out-of-bounds memory access
parent
d506dae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/scanner.cpp
src/scanner.cpp
+1
-1
No files found.
src/scanner.cpp
View file @
487f381a
...
@@ -167,7 +167,7 @@ namespace YAML
...
@@ -167,7 +167,7 @@ namespace YAML
{
{
while
(
1
)
{
while
(
1
)
{
// first eat whitespace
// first eat whitespace
while
(
IsWhitespaceToBeEaten
(
INPUT
.
peek
()))
while
(
INPUT
&&
IsWhitespaceToBeEaten
(
INPUT
.
peek
()))
INPUT
.
eat
(
1
);
INPUT
.
eat
(
1
);
// then eat a comment
// then eat a comment
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment