[llvm-bugs] [Bug 44290] Pointers defined by clang have default pointing values.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 12 19:58:41 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=44290

David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dblaikie at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Blaikie <dblaikie at gmail.com> ---
Dereferencing an uninitialized pointer is undefined behavior - the program has
no guarantees on how it should or will behave.

(if you want a more precise diagnosis, compiling/running with
-fsanitize=address should do the trick, I think?)

-- 
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/20191213/ff316f36/attachment-0001.html>


More information about the llvm-bugs mailing list