Menu

#1 xinelib xmlparser crashes druing podcast rss xml parsing

1.2.11
closed
nobody
None
2021-05-08
2020-08-23
crvi
No

Please refer to the following links for the issue and the corresponding fix.

https://bugzilla.redhat.com/show_bug.cgi?id=582850

https://gitlab.gnome.org/GNOME/totem-pl-parser/commit/db9d1835d55adfcabac03bfa274463ce8b7abe1b

I think this change got missed out and was not submitted upstream. The patch needs to be rebased for the current code.

Thanks !

Discussion

  • crvi

    crvi - 2020-08-23

    valgrind errors caused by the issue:

    ==239223== Conditional jump or move depends on uninitialised value(s)
    ==239223==    at 0x483BCF8: __strlen_sse2 (vg_replace_strmem.c:461)
    ==239223==    by 0x4C8BEFE: strdup (strdup.c:41)
    ==239223==    by 0x51C59D5: xml_parser_append_text.part.0 (xmlparser.c:241)
    ==239223==    by 0x51C6DC7: xml_parser_append_text (xmlparser.c:210)
    ==239223==    by 0x51C6DC7: xml_parser_get_node_internal (xmlparser.c:659)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223== 
    ==239223== Invalid write of size 1
    ==239223==    at 0x483BDE4: strcpy (vg_replace_strmem.c:511)
    ==239223==    by 0x51C6A4D: UnknownInlinedFun (string_fortified.h:90)
    ==239223==    by 0x51C6A4D: xml_parser_get_node_internal (xmlparser.c:443)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==  Address 0xa172110 is 0 bytes inside a block of size 4,096 free'd
    ==239223==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
    ==239223==    by 0x51C73F1: xml_parser_get_node_internal (xmlparser.c:440)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Block was alloc'd at
    ==239223==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
    ==239223==    by 0x51C77E8: xml_parser_get_node (xmlparser.c:711)
    ==239223==    by 0x51C77E8: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4E4F9: g_test_run_suite (gtestutils.c:2808)
    ==239223== 
    ==239223== Invalid write of size 1
    ==239223==    at 0x483BDF6: strcpy (vg_replace_strmem.c:511)
    ==239223==    by 0x51C6A4D: UnknownInlinedFun (string_fortified.h:90)
    ==239223==    by 0x51C6A4D: xml_parser_get_node_internal (xmlparser.c:443)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==  Address 0xa172114 is 4 bytes inside a block of size 4,096 free'd
    ==239223==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
    ==239223==    by 0x51C73F1: xml_parser_get_node_internal (xmlparser.c:440)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Block was alloc'd at
    ==239223==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
    ==239223==    by 0x51C77E8: xml_parser_get_node (xmlparser.c:711)
    ==239223==    by 0x51C77E8: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4E4F9: g_test_run_suite (gtestutils.c:2808)
    ==239223== 
    ==239223== Invalid read of size 1
    ==239223==    at 0x483BCE2: __strlen_sse2 (vg_replace_strmem.c:461)
    ==239223==    by 0x4C8BEFE: strdup (strdup.c:41)
    ==239223==    by 0x51C6D56: xml_parser_get_node_internal (xmlparser.c:616)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Address 0xa172110 is 0 bytes inside a block of size 4,096 free'd
    ==239223==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
    ==239223==    by 0x51C73F1: xml_parser_get_node_internal (xmlparser.c:440)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Block was alloc'd at
    ==239223==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
    ==239223==    by 0x51C77E8: xml_parser_get_node (xmlparser.c:711)
    ==239223==    by 0x51C77E8: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4E4F9: g_test_run_suite (gtestutils.c:2808)
    ==239223== 
    ==239223== Invalid read of size 1
    ==239223==    at 0x483BCF4: __strlen_sse2 (vg_replace_strmem.c:461)
    ==239223==    by 0x4C8BEFE: strdup (strdup.c:41)
    ==239223==    by 0x51C6D56: xml_parser_get_node_internal (xmlparser.c:616)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Address 0xa172111 is 1 bytes inside a block of size 4,096 free'd
    ==239223==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
    ==239223==    by 0x51C73F1: xml_parser_get_node_internal (xmlparser.c:440)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Block was alloc'd at
    ==239223==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
    ==239223==    by 0x51C77E8: xml_parser_get_node (xmlparser.c:711)
    ==239223==    by 0x51C77E8: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4E4F9: g_test_run_suite (gtestutils.c:2808)
    ==239223== 
    ==239223== Invalid read of size 2
    ==239223==    at 0x483CEE0: memcpy@GLIBC_2.2.5 (vg_replace_strmem.c:1032)
    ==239223==    by 0x51C6D56: xml_parser_get_node_internal (xmlparser.c:616)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==  Address 0xa172110 is 0 bytes inside a block of size 4,096 free'd
    ==239223==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
    ==239223==    by 0x51C73F1: xml_parser_get_node_internal (xmlparser.c:440)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Block was alloc'd at
    ==239223==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
    ==239223==    by 0x51C77E8: xml_parser_get_node (xmlparser.c:711)
    ==239223==    by 0x51C77E8: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4E4F9: g_test_run_suite (gtestutils.c:2808)
    ==239223== 
    ==239223== Invalid read of size 1
    ==239223==    at 0x483CF10: memcpy@GLIBC_2.2.5 (vg_replace_strmem.c:1032)
    ==239223==    by 0x51C6D56: xml_parser_get_node_internal (xmlparser.c:616)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==  Address 0xa172114 is 4 bytes inside a block of size 4,096 free'd
    ==239223==    at 0x483AD7B: realloc (vg_replace_malloc.c:834)
    ==239223==    by 0x51C73F1: xml_parser_get_node_internal (xmlparser.c:440)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C678F: xml_parser_get_node_internal (xmlparser.c:378)
    ==239223==    by 0x51C784C: xml_parser_get_node (xmlparser.c:718)
    ==239223==    by 0x51C784C: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==  Block was alloc'd at
    ==239223==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
    ==239223==    by 0x51C77E8: xml_parser_get_node (xmlparser.c:711)
    ==239223==    by 0x51C77E8: xml_parser_build_tree_with_options_r (xmlparser.c:741)
    ==239223==    by 0x4852A32: totem_pl_parser_parse_xml_relaxed (totem-pl-parser.c:1856)
    ==239223==    by 0x4858F0E: totem_pl_parser_add_rss (totem-pl-parser-podcast.c:342)
    ==239223==    by 0x48533FC: totem_pl_parser_parse_internal (totem-pl-parser.c:2102)
    ==239223==    by 0x4853CF1: totem_pl_parser_parse_with_base (totem-pl-parser.c:2292)
    ==239223==    by 0x10B4B2: parser_test_get_entry_field (parser.c:429)
    ==239223==    by 0x10D833: test_parsing_content_type (parser.c:740)
    ==239223==    by 0x4B4E00D: test_case_run (gtestutils.c:2633)
    ==239223==    by 0x4B4E00D: g_test_run_suite_internal (gtestutils.c:2721)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4DDB3: g_test_run_suite_internal (gtestutils.c:2733)
    ==239223==    by 0x4B4E4F9: g_test_run_suite (gtestutils.c:2808)
    ==239223== 
    
     

    Last edit: crvi 2020-08-23
  • crvi

    crvi - 2020-08-23

    os: debian unstable
    libxine2 version: 2.10-4+b1

     
  • crvi

    crvi - 2021-01-29

    Just a small update.

    The client of the xine-lib / xine-util / xmlparser library is totem-pl-parser ( https://gitlab.gnome.org/GNOME/totem-pl-parser/ )

     
  • Petri Hintukainen

    Applied. Thanks!

     
  • Petri Hintukainen

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB