https://bugs.kde.org/show_bug.cgi?id=417993

--- Comment #13 from Eyal <eyals...@gmail.com> ---
> I think my only question is whether we should "clear" all of data or just
> the value fields of the result and opnds[] of the test_data_t?
> I guess it doesn't matter whether the rest of the test_data_t struct values
> are cleared too, but it might "hide" other/real bugs?

I agree.  Let's clear just the vbits in the values in a loop.  I didn't know
about the macro VALGRIND_MAKE_MEM_DEFINED so I'll use that one.

I see that print_opnd is called sometimes before vbits get cleared by my new
code so the clearing of vbits in print_opnd must remain in addition to this new
one.

I'll attach the new patch.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to