From: Martin Pycko Date: Sun, 8 Jun 2003 16:26:08 +0000 (+0000) Subject: Fix the segfault in get_calleridname if the From: string starts with " input) end--; - strncpy(output,input,(int)(end-input)); + if (end > input) + strncpy(output,input,(int)(end-input)); + else + output = NULL; } return output; }