This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] vfprintf: Avoid creating a VLA which complicates stack management
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: fweimer at redhat dot com (Florian Weimer)
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 02 Sep 2016 15:09:37 +0200
- Subject: Re: [PATCH] vfprintf: Avoid creating a VLA which complicates stack management
- Authentication-results: sourceware.org; auth=none
- References: <20160902105723.8655D4019BD96@oldenburg.str.redhat.com>
On Sep 02 2016, fweimer@redhat.com (Florian Weimer) wrote:
> * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
> instead of MB_CUR_MAX to avoid variable-length array.
Ok.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."