Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f259ba33
Commit
f259ba33
authored
Sep 01, 2015
by
Thomas Faller
Committed by
Alexandre Julliard
Sep 02, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix invalid read.
parent
8348c0eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
saxreader.c
dlls/msxml3/saxreader.c
+2
-1
No files found.
dlls/msxml3/saxreader.c
View file @
f259ba33
...
...
@@ -690,12 +690,13 @@ static void format_error_message_from_id(saxlocator *This, HRESULT hr)
static
void
update_position
(
saxlocator
*
This
,
BOOL
fix_column
)
{
const
xmlChar
*
p
=
This
->
pParserCtxt
->
input
->
cur
-
1
;
const
xmlChar
*
baseP
=
This
->
pParserCtxt
->
input
->
base
;
This
->
line
=
xmlSAX2GetLineNumber
(
This
->
pParserCtxt
);
if
(
fix_column
)
{
This
->
column
=
1
;
for
(;
*
p
!=
'\n'
&&
*
p
!=
'\r'
&&
p
>=
This
->
pParserCtxt
->
input
->
base
;
p
--
)
for
(;
p
>=
baseP
&&
*
p
!=
'\n'
&&
*
p
!=
'\r'
;
p
--
)
This
->
column
++
;
}
else
...
...
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