[LLVMbugs] [Bug 21596] Modification of data pointed to by a pointer.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 18 10:50:06 PST 2014


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

Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |asl at math.spbu.ru
         Resolution|---                         |INVALID

--- Comment #4 from Anton Korobeynikov <asl at math.spbu.ru> ---
You also need to allocate memory properly. E.g. first malloc should be
malloc(sizeof(int*)*size).

-- 
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/3bd13764/attachment.html>


More information about the llvm-bugs mailing list