[ 
https://issues.apache.org/jira/browse/XERCESC-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16966763#comment-16966763
 ] 

Scott Cantor commented on XERCESC-2179:
---------------------------------------

The problem is not in the variable you added that comment about in the patch.

I believe the bug is in that second set of parameters at the end where it 
passes in the wrong value for the size of the "theSize" variable that was set 
to 4 bytes in the code. But I don't understand that well enough to be certain 
what I'm seeing yet.

The comment in the patch was confusing this discussion because it's referring 
to a change from unsigned long to DWORD, and that is not a change. It's not 
theType that's causing trouble, but theSize.

> access violation in win32transservice.cpp with 64 bit compile
> -------------------------------------------------------------
>
>                 Key: XERCESC-2179
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2179
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: DOM
>    Affects Versions: 3.2.2
>            Reporter: martin goodall
>            Assignee: Alberto Massari
>            Priority: Blocker
>             Fix For: 3.2.3
>
>         Attachments: Win32TransService.cpp
>
>
> calls to ::Reg... to get registry info are passing in stack variables that 
> are 8 bytes long into functions that overwrite 16 bytes, causing memory 
> overwrite and very random segs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to