From: Marco Costalba <hidden> Date: 2016-06-15 22:44:01
On Dec 29, 2007 8:22 PM, Johannes Schindelin [off-list ref] wrote:
Not only does it avoid the strlen() call also for longer prefixes;
it also avoids a C++ comment.
Avoiding a C++ comment is good ;-) sorry, it slipped to me.
What your patch does not seem to avoid is a segfault if prefix or str
are NULL pointers.
Marco