[Live-devel] BasicUsageEnvironment::operator<<(const char *)
Ross Finlayson
finlayson at live555.com
Thu Mar 11 21:55:02 PST 2010
>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?
Yes, that's a good idea. It will be included in the next release of
the software.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list