After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172182 - error in ISO8859xToUTF8 in encoding.c
error in ISO8859xToUTF8 in encoding.c
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.18
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-31 01:19 UTC by gnome
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description gnome 2005-03-31 01:19:46 UTC
Please describe the problem:
In line 2335 of encoding.c variable 'inend' is not initialized before being used

    const unsigned char* inend;
    const unsigned char* instop = inend;


Steps to reproduce:
1. 
2. 
3. 

Actual results:


Expected results:


Does this happen every time?


Other information:
The following lines may be required:
#undef LIBXML_ICONV_ENABLED
#define LIBXML_ISO8859X_ENABLED
Comment 1 Daniel Veillard 2005-03-31 08:44:08 UTC
Right, I deferred the intialization after inend is initialized in the
beginning of the routine. Fixed in CVS,

  thanks for spotting this, this code is not commonly used,

Daniel
Comment 2 Daniel Veillard 2005-09-05 08:59:02 UTC
This should be closed by release of libxml2-2.6.21,

  thanks,

Daniel