if the StrBuf or its parts are NULL, we can't do any work.