aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shadow/dots-in-usernames.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-08-20 23:45:33 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-09-07 12:05:03 +0000
commit226fe478c20bcc6958b000864775186f115865c0 (patch)
treee6590a932ffd7592a32328f4167efdcedfb033f8 /testing/shadow/dots-in-usernames.patch
parentf79c671dd995300e190ba1a5acce57206ef2b445 (diff)
downloadaports-226fe478c20bcc6958b000864775186f115865c0.tar.gz
aports-226fe478c20bcc6958b000864775186f115865c0.tar.bz2
aports-226fe478c20bcc6958b000864775186f115865c0.tar.xz
testing/shadow: add debug build
2 patches from gentoo were also added the segfault breaking unprivileged lxc containers is traced at: http://bugs.alpinelinux.org/issues/4544
Diffstat (limited to 'testing/shadow/dots-in-usernames.patch')
-rw-r--r--testing/shadow/dots-in-usernames.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/shadow/dots-in-usernames.patch b/testing/shadow/dots-in-usernames.patch
new file mode 100644
index 0000000000..b684c9d02f
--- /dev/null
+++ b/testing/shadow/dots-in-usernames.patch
@@ -0,0 +1,11 @@
+--- shadow-4.1.3/libmisc/chkname.c
++++ shadow-4.1.3/libmisc/chkname.c
+@@ -66,6 +66,7 @@
+ ( ('0' <= *name) && ('9' >= *name) ) ||
+ ('_' == *name) ||
+ ('-' == *name) ||
++ ('.' == *name) ||
+ ( ('$' == *name) && ('\0' == *(name + 1)) )
+ )) {
+ return false;
+