[Live-devel] BasicUsageEnvironment::operator<<(const char *)

Paulo Rogério Panhoto paulo at voicetechnology.com.br
Thu Mar 11 21:09:16 PST 2010


Hello,

This might sound silly, but when I was debuggind an app I've got a signal
being caught because a NULL string had been passed to a
BasicUsageEnvironment and the app crashed. I've just added a NULL check to
the operator << on my own (if(str == NULL) str = "NULL";).

Wouldn't it be of any good if these functions had such checks?

Regards,

Paulo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100312/a8742cd1/attachment.html>


More information about the live-devel mailing list