Gaurav Singh writes:
Passing NULL in strcmp will cause a segmentation fault.
Fix this by returning -1 if expected is NULL pointer.

Did you actually encounter this while running the tests?

Reply via email to