[Pkg-shadow-commits] r322 - trunk/debian/patches
Nicolas FRANCOIS
pkg-shadow-devel@lists.alioth.debian.org
Wed, 29 Jun 2005 20:52:18 +0000
Author: nekral-guest
Date: 2005-06-29 20:52:18 +0000 (Wed, 29 Jun 2005)
New Revision: 322
Added:
trunk/debian/patches/434_login_stop_checking_args_after--
Removed:
trunk/debian/patches/008_login_stop_checking_args_after--
Modified:
trunk/debian/patches/series
Log:
008_login_stop_checking_args_after-- should also be kept.
Move it to 434.
Deleted: trunk/debian/patches/008_login_stop_checking_args_after--
===================================================================
--- trunk/debian/patches/008_login_stop_checking_args_after-- 2005-06-29 20:36:10 UTC (rev 321)
+++ trunk/debian/patches/008_login_stop_checking_args_after-- 2005-06-29 20:52:18 UTC (rev 322)
@@ -1,18 +0,0 @@
-Goal: terminate argument validation in login when it hits a '--'.
-Fixes: #66368
-
-Status wrt upstream: It could certainly be submitted to upstream.
-
-Index: shadow-4.0.3/src/login.c
-===================================================================
---- shadow-4.0.3.orig/src/login.c 2005-05-23 01:23:54.377167000 +0200
-+++ shadow-4.0.3/src/login.c 2005-05-23 01:24:36.427167000 +0200
-@@ -294,6 +294,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 "--" */
- }
- }
-
Copied: trunk/debian/patches/434_login_stop_checking_args_after-- (from rev 310, trunk/debian/patches/008_login_stop_checking_args_after--)
Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series 2005-06-29 20:36:10 UTC (rev 321)
+++ trunk/debian/patches/series 2005-06-29 20:52:18 UTC (rev 322)
@@ -32,7 +32,7 @@
350_su_syslog_old:new
008_login_MAXHOSTNAMELEN
428_grpck_add_prune_option
-008_login_stop_checking_args_after--
+434_login_stop_checking_args_after--
349_login_opt-f_with_username_after--
433_login_more_LOG_UNKFAIL_ENAB
008_login_log_failure_in_FTMP