diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-23 19:13:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-12-23 19:13:53 +0000 |
commit | 697e18bcb167eca4a74ca89caeb852e8ff95a0b8 (patch) | |
tree | c6d4964dcfe6b39694daf3c149c64c438f2c990e | |
parent | 9220f26fbe137c7cfe7a4bad135c2230d25e10c0 (diff) |
expand message between processes to 2048 bytes. Andre Smagin found
a case where it can reach 637 bytes of output, so use almost 4x
(he suggested 1024)
-rw-r--r-- | usr.sbin/rdate/rdate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rdate/rdate.c b/usr.sbin/rdate/rdate.c index 79cb48d80a7..5bf7fdd80c9 100644 --- a/usr.sbin/rdate/rdate.c +++ b/usr.sbin/rdate/rdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdate.c,v 1.34 2015/10/31 18:24:01 deraadt Exp $ */ +/* $OpenBSD: rdate.c,v 1.35 2015/12/23 19:13:52 deraadt Exp $ */ /* $NetBSD: rdate.c,v 1.4 1996/03/16 12:37:45 pk Exp $ */ /* @@ -64,7 +64,7 @@ extern char *__progname; __dead void usage(void); struct { - char message[256]; + char message[2048]; struct timeval new; struct timeval adjust; } pdata; |