Index: shape.c =================================================================== --- shape.c (revision 18910) +++ shape.c (revision 18911) @@ -294,6 +294,9 @@ char *end; pcb_bool succ; + if (arg == NULL) + return pcb_false; + dst = arg; end = strchr(dst, ';'); if (end != NULL) {