Author: Lars Mueller Subject: potential buffer overflow in torture Bugzilla: bugzilla.Samba.org #2659 Index: source/torture/torture.c =================================================================== --- source/torture/torture.c (Revision 6432) +++ source/torture/torture.c (Arbeitskopie) @@ -712,7 +712,7 @@ nb_setup(cli); - slprintf(cname,sizeof(fname), "client%d", client); + slprintf(cname,sizeof(cname)-1, "client%d", client); f = fopen(client_txt, "r");