2
0

uninitialised-variable.patch 524 B

12345678910111213141516
  1. diff --git a/0.2.5/src/charset/codecs/codec_utf8.c b/0.2.5/src/charset/codecs/codec_utf8.c
  2. index 6117fe6..39bdb28 100644
  3. --- a/0.2.5/src/charset/codecs/codec_utf8.c
  4. +++ b/0.2.5/src/charset/codecs/codec_utf8.c
  5. @@ -409,8 +409,8 @@ parserutils_error charset_utf8_codec_read_char(charset_utf8_codec *c,
  6. const uint8_t **source, size_t *sourcelen,
  7. uint8_t **dest, size_t *destlen)
  8. {
  9. - uint32_t ucs4;
  10. - size_t sucs4;
  11. + uint32_t ucs4 = 0;
  12. + size_t sucs4 = 0;
  13. parserutils_error error;
  14. /* Convert a single character */