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 "David Bertoni (JIRA)" <xe...@xml.apache.org> on 2007/12/29 07:48:43 UTC
[jira] Commented: (XERCESC-1771) Uninitialized variable read in
XMLUTF8Transcoder::transcodeFrom
[ https://issues.apache.org/jira/browse/XERCESC-1771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554888 ]
David Bertoni commented on XERCESC-1771:
----------------------------------------
I believe this is a duplicate of XERCESC-1555 and XERCESC-1612. Can you please apply the patch available at https://issues.apache.org/jira/browse/XERCESC-1555 to see if it fixes the problem?
> Uninitialized variable read in XMLUTF8Transcoder::transcodeFrom
> ---------------------------------------------------------------
>
> Key: XERCESC-1771
> URL: https://issues.apache.org/jira/browse/XERCESC-1771
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 2.7.0
> Environment: Linux, RHEL4
> ldd -v -r -d shows xerces loading these libraries:
> /usr/local/lib/libxerces-c.so.27:
> libgcc_s.so.1 (GCC_3.0) => /lib/libgcc_s.so.1
> libpthread.so.0 (GLIBC_2.0) => /lib/tls/libpthread.so.0
> libpthread.so.0 (GLIBC_2.1) => /lib/tls/libpthread.so.0
> libc.so.6 (GLIBC_2.3) => /lib/tls/libc.so.6
> libc.so.6 (GLIBC_2.2) => /lib/tls/libc.so.6
> libc.so.6 (GLIBC_2.1.3) => /lib/tls/libc.so.6
> libc.so.6 (GLIBC_2.1) => /lib/tls/libc.so.6
> libc.so.6 (GLIBC_2.0) => /lib/tls/libc.so.6
> libstdc++.so.6 (GLIBCXX_3.4) => /usr/lib/libstdc++.so.6
> libstdc++.so.6 (CXXABI_1.3) => /usr/lib/libstdc++.so.6
> Reporter: Gary Bernstein
>
> Valgrind complains about a "Conditional jump or move depends on uninitialised value(s)" in xercesc_2_7::XMLUTF8Transcoder::transcodeFrom
> From the valgring log:
> ==11947== Conditional jump or move depends on uninitialised value(s)
> ==11947== at 0x42AB86A: xercesc_2_7::XMLUTF8Transcoder::transcodeFrom(unsigned char const*, unsigned, unsigned short*, unsigned, unsigned&, unsigned char*) (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x42950AF: xercesc_2_7::XMLReader::xcodeMoreChars(unsigned short*, unsigned char*, unsigned) (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x42937BC: xercesc_2_7::XMLReader::refreshCharBuffer() (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x4208C07: xercesc_2_7::ReaderMgr::peekNextChar() (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x42999A3: xercesc_2_7::XMLScanner::scanProlog() (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x42986C7: xercesc_2_7::XMLScanner::scanFirst(xercesc_2_7::InputSource const&, xercesc_2_7::XMLPScanToken&) (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x42985AC: xercesc_2_7::XMLScanner::scanFirst(unsigned short const*, xercesc_2_7::XMLPScanToken&) (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x4298625: xercesc_2_7::XMLScanner::scanFirst(char const*, xercesc_2_7::XMLPScanToken&) (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x421F92D: xercesc_2_7::SAXParser::parseFirst(char const*, xercesc_2_7::XMLPScanToken&) (in /usr/local/lib/libxerces-c.so.27.0)
> ==11947== by 0x80553F7: AppManager::loadRecordingServers() (AppManager.cpp:477)
> ==11947== by 0x805419C: AppManager::start(common::SocketConnection*, common::SocketListener*, common::SocketListener*) (AppManager.cpp:235)
> ==11947== by 0x8050346: main (Main.cpp:443)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org