[ 
https://issues.apache.org/jira/browse/XERCESC-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Scott Cantor resolved XERCESC-2105.
-----------------------------------
    Resolution: Fixed

> Review results of compile with -Wstrict-overflow
> ------------------------------------------------
>
>                 Key: XERCESC-2105
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2105
>             Project: Xerces-C++
>          Issue Type: Task
>            Reporter: Scott Cantor
>            Assignee: Scott Cantor
>             Fix For: 3.2.0
>
>         Attachments: xerces-build.txt
>
>
> The code base has had a number of pointer/length overflow bugs, so I thought 
> it would be a good idea to do a gcc build with -O2 -Wall -Wstrict-overflow=5 
> to flag any cases where we're doing pointer math on potentially huge offset 
> values that might overflow. This can defeat boundary checking because of 
> compiler optimizations.
> Attaching a build on RH7 with the libtool commands altered to output the 
> warnings for review.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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