Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libxslt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
libxslt
Commits
c5eb6cf3
Commit
c5eb6cf3
authored
Apr 27, 2019
by
Nick Wellnhofer
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uninitialized read of xsl:number token
Found by OSS-Fuzz.
parent
d3ec6060
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
libxslt/numbers.c
libxslt/numbers.c
+4
-1
No files found.
libxslt/numbers.c
View file @
c5eb6cf3
...
...
@@ -382,7 +382,10 @@ xsltNumberFormatTokenize(const xmlChar *format,
tokens
->
tokens
[
tokens
->
nTokens
].
token
=
val
-
1
;
ix
+=
len
;
val
=
xmlStringCurrentChar
(
NULL
,
format
+
ix
,
&
len
);
}
}
else
{
tokens
->
tokens
[
tokens
->
nTokens
].
token
=
(
xmlChar
)
'0'
;
tokens
->
tokens
[
tokens
->
nTokens
].
width
=
1
;
}
}
else
if
(
(
val
==
(
xmlChar
)
'A'
)
||
(
val
==
(
xmlChar
)
'a'
)
||
(
val
==
(
xmlChar
)
'I'
)
||
...
...
Mark Denihan
@markdenihan
mentioned in issue
#20 (closed)
·
Aug 16, 2019
mentioned in issue
#20 (closed)
mentioned in issue #20
Toggle commit list
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