[LLVMbugs] [Bug 21596] Pointer to an address returned from function does not correlate to pointer to address in function. This causes access to different place in memory than was expected.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 18 10:04:00 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21596

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
You're taking the address of a local variable. Try replacing &array with array
in your printfs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141118/312f44b0/attachment.html>


More information about the llvm-bugs mailing list