$OpenBSD: patch-misc_c,v 1.1 2003/06/20 13:41:50 avsm Exp $ --- misc.c.orig Wed Jan 3 10:02:46 1996 +++ misc.c Fri Jun 20 14:31:49 2003 @@ -650,7 +650,7 @@ add_emu(buff) struct emu_t *emup; struct socket *so; - if (sscanf(buff, "%256s %256s", buff2, buff1) != 2) { + if (sscanf(buff, "%255s %255s", buff2, buff1) != 2) { lprint("Error: Bad arguments\r\n"); return; } @@ -665,7 +665,7 @@ add_emu(buff) if (sscanf(buff2, "%128[^:]:%128s", buff1, buff3) != 2) { buff3 = 0; - if (sscanf(buff2, "%256s", buff1) != 1) { + if (sscanf(buff2, "%255s", buff1) != 1) { lprint("Error: Bad second argument\r\n"); return; }