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

--- Comment #1 from tanning-skull...@icloud.com ---
I'm sorry. The attached file was a working example (compare the assembly).
Please refer to the code in the ticket itself.

Here is the output from "valgrind --tool=memcheck -v ./ test":

==97692== Memcheck, a memory error detector
==97692== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==97692== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==97692== Command: ./a.out
==97692== 
==97692== Invalid write of size 8
==97692==    at 0x109254: eval(unsigned char*) (in /home/ubuntu/vb/test/a.out)
==97692==    by 0x109454: main (in /home/ubuntu/vb/test/a.out)
==97692==  Address 0x4037000 is in a --- anonymous segment
==97692== 
==> offset in memory: 0
==> offset in memory: 67334144
==97692== 
==97692== HEAP SUMMARY:
==97692==     in use at exit: 0 bytes in 0 blocks
==97692==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
==97692== 
==97692== All heap blocks were freed -- no leaks are possible
==97692== 
==97692== For lists of detected and suppressed errors, rerun with: -s
==97692== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)

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

Reply via email to