Re: [PATCH 1/3] [D] libiberty: Remove stack buffer in dlang_parse_real

2017-05-26 Thread Ian Lance Taylor via gcc-patches
On Fri, May 26, 2017 at 8:48 AM, Iain Buclaw wrote: > > This patch fixes a problem in the D demangler where an abnormally long > mangled floating point literal would cause the program write past the > allocated stack buffer. This should never happen with a valid D > symbol, but we should be able

[PATCH 1/3] [D] libiberty: Remove stack buffer in dlang_parse_real

2017-05-26 Thread Iain Buclaw
Hi, This patch fixes a problem in the D demangler where an abnormally long mangled floating point literal would cause the program write past the allocated stack buffer. This should never happen with a valid D symbol, but we should be able to handle anything thrown at us. --- commit 62d51a8de1fa