From: Rolf Eike Beer Date: Sun, 22 Oct 2006 03:08:33 +0000 (+0000) Subject: STABLE14-dauth-dpass-20061021 X-Git-Tag: openafs-stable-1_4_3rc1~83 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=47577586791888d23b729e5547a699f399030f92;p=packages%2Fo%2Fopenafs.git STABLE14-dauth-dpass-20061021 FIXES 42182 off by one error --- diff --git a/src/dauth/dpass.c b/src/dauth/dpass.c index 1a2a17c5d..37ec50a2b 100644 --- a/src/dauth/dpass.c +++ b/src/dauth/dpass.c @@ -109,7 +109,7 @@ CommandProc(as, arock) cell_p); } else { strncpy(cell, cellinfo.name, sizeof(cell) - 1); - cell[sizeof(cell)] = '\0'; + cell[sizeof(cell)-1] = '\0'; cell_p = cell; } } else {