git: ea46e63863df - main - Merge commit 'acb089b983171667467adc66f56a723b609ed22e' into kbsd/vis
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 05:29:01 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=ea46e63863df9bd36b65f7293092214f1937349e commit ea46e63863df9bd36b65f7293092214f1937349e Merge: 93626d543702 acb089b98317 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2023-08-13 05:23:02 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2023-08-13 05:23:02 +0000 Merge commit 'acb089b983171667467adc66f56a723b609ed22e' into kbsd/vis Highlights: - Some style fixes - Bumped mbbuf in istrsenvisx() to MB_LEN_MAX to avoid VLAs - mbslength cannot go negative, so make it unsigned - Further bounds checking & fix an additional overrun, with dlen == 0 - Avoid duplicate call to wcslen(start) contrib/libc-vis/unvis.3 | 25 +++++++++++-------- contrib/libc-vis/unvis.c | 6 ++--- contrib/libc-vis/vis.3 | 5 ++-- contrib/libc-vis/vis.c | 65 ++++++++++++++++++++++++++++++++++++++++-------- contrib/libc-vis/vis.h | 5 ++-- 5 files changed, 76 insertions(+), 30 deletions(-) diff --cc contrib/libc-vis/unvis.c index d96d231be96e,039fea5e93f9..f290d8db271a --- a/contrib/libc-vis/unvis.c +++ b/contrib/libc-vis/unvis.c @@@ -34,10 -34,9 +34,10 @@@ #if 0 static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93"; #else - __RCSID("$NetBSD: unvis.c,v 1.44 2014/09/26 15:43:36 roy Exp $"); + __RCSID("$NetBSD: unvis.c,v 1.45 2022/04/19 20:32:15 rillig Exp $"); #endif #endif /* LIBC_SCCS and not lint */ +__FBSDID("$FreeBSD$"); #include "namespace.h" #include <sys/types.h>