[libcxx-commits] [libcxx] [libc++][filesystem] Increase error message buffer size to prevent truncation (PR #203531)

Sean Perry via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 19 14:09:57 PDT 2026


perry-ca wrote:

> > The existing fallback to dynamic allocation handles even longer messages if needed.
> 
> What I don't understand is why that dynamic fallback doesn't solve the problem in the first place? Does that fallback somehow not work on z/OS?

The fallback code doesn't use a copy of the va_list like the first try.  That's the first thing that jumps out at me.  We'll dig deeper and update.

https://github.com/llvm/llvm-project/pull/203531


More information about the libcxx-commits mailing list