You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2004/02/11 17:45:52 UTC
DO NOT REPLY [Bug 26864] New: -
XSerializeEngine::alignAdjust() contains a dangerous cast
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26864>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26864
XSerializeEngine::alignAdjust() contains a dangerous cast
Summary: XSerializeEngine::alignAdjust() contains a dangerous
cast
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Miscellaneous
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: David_N_Bertoni@lotus.com
This member function casts a pointer to a long. On platforms where a long is
smaller than a pointer, this will cause truncation (64-bit Windows is one such
platform). It would be better to cast this to size_t to perform the division.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org