BlockInjection
BlockInjection copied to clipboard
Question: xCode warning in method - (void*)invokeWithTarget:(id)target args:(va_list*)args
My english not very well, but I will try.
In method - (void_)invokeWithTarget:(id)target args:(va_list_)args of BIItem class you are using __builtin_alloca(returnLength);
This method allocate memory in a current stack, xCode has showed that in some case you can return pointer to the memory. And it can make crash.
May be I am wrong, and pointer will change after __builtin_alloca method, but it is very danger place.