Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b8ec8a48
Commit
b8ec8a48
authored
Jan 21, 2010
by
Matthias Klose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- expat: Fix DoS via malformed XML (CVE-2009-3720).
parent
166f8086
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Misc/NEWS
Misc/NEWS
+2
-1
Modules/expat/xmltok_impl.c
Modules/expat/xmltok_impl.c
+1
-1
No files found.
Misc/NEWS
View file @
b8ec8a48
...
...
@@ -12,7 +12,8 @@ What's New in Python 2.5.5c2?
Extension Modules
-----------------
- Fix DoS via XML document with malformed UTF-8 sequences (CVE_2009_3560).
- expat: Fix DoS via XML document with malformed UTF-8 sequences (CVE_2009_3560).
- expat: Fix DoS via malformed XML (CVE-2009-3720).
What'
s
New
in
Python
2.5.5
c1
?
...
...
Modules/expat/xmltok_impl.c
View file @
b8ec8a48
...
...
@@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *enc,
const
char
*
end
,
POSITION
*
pos
)
{
while
(
ptr
!=
end
)
{
while
(
ptr
<
end
)
{
switch
(
BYTE_TYPE
(
enc
,
ptr
))
{
#define LEAD_CASE(n) \
case BT_LEAD ## n: \
...
...
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