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

--- Comment #8 from Paul Floyd <pjfl...@wanadoo.fr> ---
(In reply to martin.lueck from comment #5)

> Says 0 normally, but  0x1fff000120 (a heap address?) with massif:

String literals like "haystack" generally either get put into rodata (an ELF
segment in the bibary file that getss mmap'd) or sometimes stored as immediate
data in instructions. In this case it looks like rodata.

I've tried to reproduce on Linux (Rocky 8.9 and a few combinations of GCC and
Valgrind) but it always worked.

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

Reply via email to