[LLVMdev] lib/Support/MemoryBuffer.cpp: wrong assert(BufEnd[0] == 0 && "Buffer is not null terminated!");

Yuri yuri at rawbw.com
Thu Sep 9 12:39:36 PDT 2010


I believe this assert is wrong since it checks memory outside of the 
buffer. It shouldn't make assumptions on how callers store the array.

Yuri



More information about the llvm-dev mailing list