From 39877bf07688fd74a0264af7cc64ce0c9a9df7ab Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 9 Oct 2019 23:23:41 +0000 Subject: [PATCH] bump size --- lib/libc/citrus/citrus_csmapper.c | 6 +++--- lib/libc/citrus/citrus_iconv.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libc/citrus/citrus_csmapper.c b/lib/libc/citrus/citrus_csmapper.c index 4e8f445c5c9a..528bef319be4 100644 --- a/lib/libc/citrus/citrus_csmapper.c +++ b/lib/libc/citrus/citrus_csmapper.c @@ -1,4 +1,4 @@ -/* $NetBSD: citrus_csmapper.c,v 1.11 2011/11/20 07:43:52 tnozaki Exp $ */ +/* $NetBSD: citrus_csmapper.c,v 1.12 2019/10/09 23:23:41 christos Exp $ */ /*- * Copyright (c)2003 Citrus Project, @@ -28,7 +28,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: citrus_csmapper.c,v 1.11 2011/11/20 07:43:52 tnozaki Exp $"); +__RCSID("$NetBSD: citrus_csmapper.c,v 1.12 2019/10/09 23:23:41 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -305,7 +305,7 @@ open_serial_mapper(struct _citrus_mapper_area *__restrict ma, struct _citrus_mapper * __restrict * __restrict rcm, const char *src, const char *pivot, const char *dst) { - char buf[PATH_MAX]; + char buf[4 * PATH_MAX]; snprintf(buf, sizeof(buf), "%s/%s,%s/%s", src, pivot, pivot, dst); diff --git a/lib/libc/citrus/citrus_iconv.c b/lib/libc/citrus/citrus_iconv.c index 3b8f61e53875..0a172e4a8f8d 100644 --- a/lib/libc/citrus/citrus_iconv.c +++ b/lib/libc/citrus/citrus_iconv.c @@ -1,4 +1,4 @@ -/* $NetBSD: citrus_iconv.c,v 1.10 2011/11/19 18:34:21 tnozaki Exp $ */ +/* $NetBSD: citrus_iconv.c,v 1.11 2019/10/09 23:24:00 christos Exp $ */ /*- * Copyright (c)2003 Citrus Project, @@ -28,7 +28,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: citrus_iconv.c,v 1.10 2011/11/19 18:34:21 tnozaki Exp $"); +__RCSID("$NetBSD: citrus_iconv.c,v 1.11 2019/10/09 23:24:00 christos Exp $"); #endif /* LIBC_SCCS and not lint */ #include "namespace.h" @@ -262,7 +262,7 @@ get_shared(struct _citrus_iconv_shared * __restrict * __restrict rci, int ret = 0; int hashval; struct _citrus_iconv_shared * ci; - char convname[PATH_MAX]; + char convname[2 * PATH_MAX]; snprintf(convname, sizeof(convname), "%s/%s", src, dst);