diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-09 16:25:09 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-09 14:26:28 -0700 |
commit | 789a16298945a7c728c419d8466f8fa9447f5dc2 (patch) | |
tree | 5428ebd86f694a63efd01958c2dcfe4f33f11c5b | |
parent | 9f4c1a2a7b9c94df821413acb4fb61327e605f7f (diff) | |
download | samba-789a16298945a7c728c419d8466f8fa9447f5dc2.tar.gz samba-789a16298945a7c728c419d8466f8fa9447f5dc2.tar.xz samba-789a16298945a7c728c419d8466f8fa9447f5dc2.zip |
s3: Ensure NULL termination for "workstation" in auth_crap
-rw-r--r-- | source3/winbindd/winbindd_pam_auth_crap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_pam_auth_crap.c b/source3/winbindd/winbindd_pam_auth_crap.c index d9f0273219f..41e6681cce8 100644 --- a/source3/winbindd/winbindd_pam_auth_crap.c +++ b/source3/winbindd/winbindd_pam_auth_crap.c @@ -48,6 +48,8 @@ struct tevent_req *winbindd_pam_auth_crap_send( sizeof(request->data.auth_crap.user)-1] = '\0'; request->data.auth_crap.domain[ sizeof(request->data.auth_crap.domain)-1] = '\0'; + request->data.auth_crap.workstation[ + sizeof(request->data.auth_crap.workstation)-1] = '\0'; DEBUG(3, ("[%5lu]: pam auth crap domain: [%s] user: %s\n", (unsigned long)cli->pid, |