]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-dauth-dpass-20061021
authorRolf Eike Beer <eike@sf-mail.de>
Sun, 22 Oct 2006 03:08:33 +0000 (03:08 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 22 Oct 2006 03:08:33 +0000 (03:08 +0000)
FIXES 42182

off by one error

src/dauth/dpass.c

index 1a2a17c5dff2e2d114f6445afcf2976634a08edc..37ec50a2b0e789fc6db2cd54e602a65382b6d701 100644 (file)
@@ -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 {