Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
7cbd9dcd
Commit
7cbd9dcd
authored
Jun 17, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Reader shouldn't depend on input being properly allocated BSTR string.
parent
16ef649b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
saxreader.c
dlls/msxml3/saxreader.c
+3
-1
No files found.
dlls/msxml3/saxreader.c
View file @
7cbd9dcd
...
...
@@ -2151,6 +2151,8 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz
saxlocator
*
locator
;
HRESULT
hr
;
TRACE
(
"(%p)->(%p %d)
\n
"
,
This
,
buffer
,
size
);
hr
=
SAXLocator_create
(
This
,
&
locator
,
vbInterface
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -2441,7 +2443,7 @@ static HRESULT internal_parse(
{
case
VT_BSTR
:
hr
=
internal_parseBuffer
(
This
,
(
const
char
*
)
V_BSTR
(
&
varInput
),
SysStringByteLen
(
V_BSTR
(
&
varInput
)
),
vbInterface
);
strlenW
(
V_BSTR
(
&
varInput
))
*
sizeof
(
WCHAR
),
vbInterface
);
break
;
case
VT_ARRAY
|
VT_UI1
:
{
void
*
pSAData
;
...
...
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