Hello Antoine (other),
>
If you have code in pure C with variables on the stack no malloc, doing a check of the coinbase size after the socket read can be certainly more robust than checking a non-null pointer.
Can you please clarify this for me? When you say "non-null pointer" do you mean C pointer or transaction input "null point" (sequence of 32 repeating 0x00 bytes and 4 0xff)? What do you mean by "more robust"?
Thanks,
Eric