- (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on
lastlog writing on platforms with high UIDs; bz#2263
diff --git a/ChangeLog b/ChangeLog
index d69e08f..9478859 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20140823
+ - (djm) [sshd.c] Ignore SIGXFSZ in preauth monitor child; can explode on
+ lastlog writing on platforms with high UIDs; bz#2263
+
20140822
- (djm) [configure.ac] include leading zero characters in OpenSSL version
number; fixes test for unsupported versions
diff --git a/sshd.c b/sshd.c
index 481d001..834240d 100644
--- a/sshd.c
+++ b/sshd.c
@@ -647,6 +647,10 @@
fatal("setgroups: %.100s", strerror(errno));
permanently_set_uid(privsep_pw);
#endif
+
+#ifdef SIGXFSZ
+ signal(SIGXFSZ, SIG_IGN);
+#endif
}
static int