From 7060ee85bbb90092e06f9b2728bd5faa05e44ee6 Mon Sep 17 00:00:00 2001 From: djm Date: Thu, 12 Oct 2023 03:36:32 +0000 Subject: [PATCH] 64 %-expansion keys ought to be enough for anybody; ok dtucker (we just hit the previous limit in some cases) --- usr.bin/ssh/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/misc.c b/usr.bin/ssh/misc.c index 433c2341593..96688133349 100644 --- a/usr.bin/ssh/misc.c +++ b/usr.bin/ssh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.188 2023/10/11 22:42:26 djm Exp $ */ +/* $OpenBSD: misc.c,v 1.189 2023/10/12 03:36:32 djm Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2005-2020 Damien Miller. All rights reserved. @@ -1197,7 +1197,7 @@ static char * vdollar_percent_expand(int *parseerror, int dollar, int percent, const char *string, va_list ap) { -#define EXPAND_MAX_KEYS 16 +#define EXPAND_MAX_KEYS 64 u_int num_keys = 0, i; struct { const char *key; -- 2.20.1