fre 2009-10-02 klockan 11:48 -0400 skrev Jason Noble:
> Sorry, I went to bugzilla before reading all the e-mails here.  As I 
> commented on the bug report states, there is nothing fishy going on.  
> While strlen(NULL) will always segfault, htcpBuildCountstr() wraps the 
> strlen() call with a check for a NULL pointer:
> 
> 260        if (s)
> 261        len = strlen(s);
> 262        else
> 263        len = 0;

Great. Then the memset is sufficient. Case closed.

Regards
Henrik

Reply via email to