- Remove patches applied upstream:
+ debian/patches/434_login_stop_checking_args_after--
This commit is contained in:
Vendored
+2
@@ -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
|
||||
|
||||
@@ -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 "--" */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user