SOURCES: pam-pam_pwgen_app.patch - fix count in parameter parsing
baggins
baggins at pld-linux.org
Mon Feb 20 18:53:39 CET 2006
Author: baggins Date: Mon Feb 20 17:53:39 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix count in parameter parsing
---- Files affected:
SOURCES:
pam-pam_pwgen_app.patch (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SOURCES/pam-pam_pwgen_app.patch
diff -u SOURCES/pam-pam_pwgen_app.patch:1.4 SOURCES/pam-pam_pwgen_app.patch:1.5
--- SOURCES/pam-pam_pwgen_app.patch:1.4 Mon Feb 20 16:45:04 2006
+++ SOURCES/pam-pam_pwgen_app.patch Mon Feb 20 18:53:34 2006
@@ -41,8 +41,8 @@
- strncpy(tri_file, *argv + 7, 128);
- } else if (!strncmp(*argv, "upper=", 6)) {
- upper = strtol(*argv + 6, &ep, 10);
-+ } else if (!strncmp(*av, "trifile=", 7)) {
-+ strncpy(tri_file, *av + 7, 128);
++ } else if (!strncmp(*av, "trifile=", 8)) {
++ strncpy(tri_file, *av + 8, 128);
+ } else if (!strncmp(*av, "upper=", 6)) {
+ upper = strtol(*av + 6, &ep, 10);
if (!ep || (upper < 0))
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/pam-pam_pwgen_app.patch?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list