Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
5606551f
Commit
5606551f
authored
Feb 16, 2016
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sexp-conv: Fail with an error message for unexpected ']' characters.
Fixes crash reported by Hanno Böck.
parent
10a857e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
ChangeLog
ChangeLog
+7
-0
tools/parse.c
tools/parse.c
+4
-1
No files found.
ChangeLog
View file @
5606551f
2016-02-16 Niels Möller <nisse@lysator.liu.se>
* tools/parse.c (sexp_parse): Fail with an error message for
unexpected ']' characters. Fixes crash reported by Hanno Böck.
Also handle SEXP_DISPLAY (internal error) explicitly, without a
default clause.
2016-01-28 Niels Möller <nisse@lysator.liu.se>
* Released nettle-3.2.
...
...
tools/parse.c
View file @
5606551f
...
...
@@ -165,7 +165,10 @@ sexp_parse(struct sexp_parser *parser,
case
SEXP_CODING_END
:
die
(
"Unexpected end of transport encoding.
\n
"
);
default:
case
SEXP_DISPLAY_END
:
die
(
"Unexpected end of display tag.
\n
"
);
case
SEXP_DISPLAY
:
/* Internal error. */
abort
();
}
...
...
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