[Pkg-wmaker-commits] [wmbiff] 12/15: remove (unreleased) foolhardy null-termination
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:03:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_15
in repository wmbiff.
commit dc9351b1c8583619e973c02ff0cd4931c579eada
Author: bluehal <bluehal>
Date: Sun Mar 30 11:05:24 2003 +0000
remove (unreleased) foolhardy null-termination
---
wmbiff/passwordMgr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/wmbiff/passwordMgr.c b/wmbiff/passwordMgr.c
index 4fca7b7..13318fd 100644
--- a/wmbiff/passwordMgr.c
+++ b/wmbiff/passwordMgr.c
@@ -151,7 +151,6 @@ char *passwordFor(const char *username,
strcpy(p->user, username);
strcpy(p->server, servername);
- password_ptr[31] = '\0';
strncpy(p->password, password_ptr, 31);
p->password[31] = '\0'; /* force a null termination */
// caller is responsible for freeing plaintext version free(password_ptr);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list