[Decode] Fix some coverity issues

Add null pointer and status check
4 files changed