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
818917a0
Commit
818917a0
authored
Nov 28, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Properly store SystemID and PublicID (Coverity).
parent
c23ce597
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
saxreader.c
dlls/msxml3/saxreader.c
+4
-4
No files found.
dlls/msxml3/saxreader.c
View file @
818917a0
...
...
@@ -294,8 +294,8 @@ typedef struct
saxreader
*
saxreader
;
HRESULT
ret
;
xmlParserCtxtPtr
pParserCtxt
;
WCHAR
*
publicId
;
WCHAR
*
systemId
;
BSTR
publicId
;
BSTR
systemId
;
int
line
;
int
column
;
BOOL
vbInterface
;
...
...
@@ -2132,7 +2132,7 @@ static HRESULT WINAPI isaxlocator_getPublicId(
publicId
=
bstr_from_xmlChar
(
xmlSAX2GetPublicId
(
This
->
pParserCtxt
));
if
(
SysStringLen
(
publicId
))
This
->
publicId
=
(
WCHAR
*
)
&
publicId
;
This
->
publicId
=
publicId
;
else
{
SysFreeString
(
publicId
);
...
...
@@ -2154,7 +2154,7 @@ static HRESULT WINAPI isaxlocator_getSystemId(
systemId
=
bstr_from_xmlChar
(
xmlSAX2GetSystemId
(
This
->
pParserCtxt
));
if
(
SysStringLen
(
systemId
))
This
->
systemId
=
(
WCHAR
*
)
&
systemId
;
This
->
systemId
=
systemId
;
else
{
SysFreeString
(
systemId
);
...
...
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