Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
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