- Remove patches applied upstream:

+ debian/patches/434_login_stop_checking_args_after--
This commit is contained in:
nekral-guest
2008-09-13 17:41:18 +00:00
parent ae59303366
commit d638e563b6
2 changed files with 2 additions and 18 deletions
+2
View File
@@ -2,6 +2,8 @@ shadow (1:4.1.2-1) experimental; urgency=low
* The "" release.
* New upstream release:
- Remove patches applied upstream:
+ debian/patches/434_login_stop_checking_args_after--
- Updated patches:
+ debian/patches/431_su_uid_0_not_root
+ debian/patches/463_login_delay_obeys_to_PAM
-18
View File
@@ -1,18 +0,0 @@
Goal: terminate argument validation in login when it hits a '--'.
Fixes: #66368
Status wrt upstream: Applied upstream.
Index: shadow-4.1.0/src/login.c
===================================================================
--- shadow-4.1.0.orig/src/login.c
+++ shadow-4.1.0/src/login.c
@@ -253,6 +253,8 @@
for (arg = 1; arg < argc; arg++) {
if (argv[arg][0] == '-' && strlen (argv[arg]) > 2)
usage ();
+ if (!strcmp(argv[arg], "--"))
+ break; /* stop checking on a "--" */
}
}