Am Dienstag, 17. April 2007 23:48 schrieb Steve Peters: > + strncpy(format, fmt, sizeof(format - 1));
Me thinks, that it's better to check the len of the format as it grows, considering the amount what would be strcat'ed. If an index really would overflow format, a proper syntax error could be emitted. leo