Fix Coverity warnings.
 - Check the correct variable (str_obj, not str) for NULL
 - sep_len was already verified it wasn't 0
2 files changed