Just a question: Is `strlen` really necessary? I think just checking `!= NULL` is sufficient.