Skip to content

Commit

Permalink
upstream: 64 %-expansion keys ought to be enough for anybody; ok
Browse files Browse the repository at this point in the history
dtucker (we just hit the previous limit in some cases)

OpenBSD-Commit-ID: 84070f8001ec22ff5d669f836b62f206e08c5787
  • Loading branch information
djmdjm committed Oct 12, 2023
1 parent f59a94e commit 5ec0ed7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc.c
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -1249,7 +1249,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;
Expand Down

0 comments on commit 5ec0ed7

Please sign in to comment.