efl/src/tests
Stefan Schmidt 04e3eff845 tests: eldbus: fix heap use after free error detected by address sanitizer
Using the just unref'ed message in the call next line is not going to
end well.

==26321==ERROR: AddressSanitizer: heap-use-after-free on address 0x603000001210 at pc 0x7fc456fd37f5 bp 0x7fff37a00a50 sp 0x7fff37a00a40
READ of size 4 at 0x603000001210 thread T0

    #0 0x7fc456fd37f4 in eldbus_message_path_get ../src/lib/eldbus/eldbus_message.c:193
    #1 0x42f6ab in utc_eldbus_message_ref_unref_p ../src/tests/eldbus/eldbus_test_eldbus_message.c:877
    #2 0x7fc456a27744 in srunner_run_tagged (/lib64/libcheck.so.0+0x6744)
    #3 0x406a01 in _efl_suite_run_end ../src/tests/eldbus/../efl_check.h:282
    #4 0x407357 in _efl_suite_build_and_run ../src/tests/eldbus/../efl_check.h:403
    #5 0x407925 in main ../src/tests/eldbus/eldbus_suite.c:49
    #6 0x7fc45685df32 in __libc_start_main (/lib64/libc.so.6+0x23f32)
    #7 0x405d8d in _start (/home/stefan/EFL/efl/build/src/tests/eldbus/eldbus_suite+0x405d8d)

ref T8142

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9755
2019-08-29 09:41:53 +02:00
..
ecore ecore: Fix download test. 2019-07-30 15:22:03 -04:00
ecore_audio_cxx eolian-cxx: Remove .Base requirement 2016-04-21 18:31:53 -03:00
ecore_con remove last bits of Evil.h in tests and use evil_private.h instead 2019-06-24 09:01:25 -04:00
ecore_cxx cxx: remove compilation warnings in C++ code, from both gcc and clang 2019-07-12 09:07:27 -04:00
ecore_wl2 tests/ecore_wl2: Skip aux_hints_supported test if not run in Enlightenment 2019-08-28 07:59:13 -04:00
ector cmake: remove! 2018-12-20 20:07:26 +01:00
edje efl_pack_table: rename table_position to cell_column, cell_row 2019-08-27 12:57:35 +02:00
edje_cxx meson: here comes cxx bindings 2018-10-24 12:05:58 +02:00
eet cmake: remove! 2018-12-20 20:07:26 +01:00
eet_cxx meson: enforce 61s timeout for tests, remove explicit timeouts from build files 2019-05-15 18:49:51 +02:00
eeze cmake: remove! 2018-12-20 20:07:26 +01:00
efl ecore: improve usability of Efl.Select_Model to provide helpers in manipulating selection information. 2019-07-10 20:55:02 +02:00
efl_js eolian: implement new syntax for inheritance 2018-11-23 13:57:07 +01:00
efl_mono csharp: Add bindable factory parts support 2019-08-23 14:17:44 -03:00
efreet make mman.h private 2019-08-19 09:55:13 -04:00
eina eina/array: added eina_array_find() api to eina_array. 2019-08-26 08:31:08 -04:00
eina_cxx cxx: remove compilation warnings in C++ code, from both gcc and clang 2019-07-12 09:07:27 -04:00
eio tests/eio: unlink tmpfiles after tests 2019-08-23 13:38:33 -04:00
eldbus tests: eldbus: fix heap use after free error detected by address sanitizer 2019-08-29 09:41:53 +02:00
eldbus_cxx meson: enforce 61s timeout for tests, remove explicit timeouts from build files 2019-05-15 18:49:51 +02:00
elementary efl_ui_radio_group: migrate to Efl.Ui.Single_Selectable 2019-08-29 08:29:58 +02:00
elementary_cxx cxx: Rename Elementary.hh into Efl_Ui.hh 2019-05-02 21:00:57 +02:00
elocation tests: add instrumentation to existing tests to find slow tests 2018-04-05 11:10:25 +02:00
elput here comes meson 2018-10-02 17:22:50 +02:00
elua tests: fix warnings and undef ref on Windows (using meson :-) ) 2019-06-20 12:50:35 +01:00
emile emile_test_base64: Fix memory leak 2019-05-02 13:48:22 +02:00
emotion meson: correctly use the correct dependency 2019-04-05 08:15:39 -04:00
eo tests: fix warnings and undef ref on Windows (using meson :-) ) 2019-06-20 12:50:35 +01:00
eo_cxx eo-cxx: Add second NULL sentinel to avoid buffer overrun by efl_check.h 2019-08-19 09:42:05 +02:00
eolian eolian: rename is_class api for functions to is_static 2019-08-16 16:33:37 +02:00
eolian_cxx eolian: ban void_ptr in stable APIs 2019-07-26 13:35:27 +02:00
eolian_js eolian: rename @warn_unused and its associated API 2019-05-26 17:41:22 +02:00
evas evas_textblock: markup text: improve handling invalide escape characters 2019-08-19 11:33:25 -07:00
evas_cxx meson: here comes cxx bindings 2018-10-24 12:05:58 +02:00
evil remove last bits of Evil.h in tests and use evil_private.h instead 2019-06-24 09:01:25 -04:00
.gitignore tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00
efl_check.h efl check - use global not stack local buffer for srunner_set_xml 2019-08-11 16:35:03 +01:00
meson.build here comes meson 2018-10-02 17:22:50 +02:00
timeout.c tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00