https://bugs.linaro.org/show_bug.cgi?id=1056

--- Comment #1 from Ola Liljedahl <[email protected]> ---
No file & line information and no links to any output from Coverity.
I can only assume thie following code snippet causes the problem:
        struct test_timer *ttp = odp_timeout_user_ptr(tmo);

        if (ttp == NULL)
                CU_FAIL("odp_timeout_user_ptr() null user ptr");

        if (ttp->buf2 != buf)
                CU_FAIL("odp_timeout_user_ptr() wrong user ptr");
        if (ttp->tim != tim)
                CU_FAIL("odp_timeout_timer() wrong timer");

Possibly one should either skip the test for NULL (if the timer returns an
invalid user pointer, a crash is likely anyway, NULL is just one possible
invalid value and not special in any way, i.e. it is not a default value) or
skip the following timeout checks that use the user pointer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to