[LLVMdev] [Patch] Bufer overrun in getValueTypeList()

Duncan Sands baldrick at free.fr
Sun May 9 21:56:29 PDT 2010


Hi Javier,

> The attached patch is to add an assert to getValueTypeList() to verify that for simple value types their value is NOT between MAX_ALLOWED_VALUETYPE and LastSimpleValueType (inclusive) as this causes a buffer overrun.

thanks for the patch.  I applied a variant in commit 103391.

Ciao,

Duncan.



More information about the llvm-dev mailing list