Re: [PATCH] [libiberty] Fix write buffer overflow in cplus_demangle

2020-11-18 Thread Jeff Law via Gcc-patches
On 11/14/20 6:08 AM, Tim Rühsen wrote: > Hey, > > On 13.11.20 05:45, Jeff Law wrote: >> >> On 11/29/19 12:15 PM, Tim Rühsen wrote: >>> * cplus-dem.c (ada_demangle): Correctly calculate the demangled >>>    size by using two passes. >> >> So I'm not sure why, but I can't get this patch to apply. 

Re: [PATCH] [libiberty] Fix write buffer overflow in cplus_demangle

2020-11-14 Thread Tim Rühsen
Hey, On 13.11.20 05:45, Jeff Law wrote: On 11/29/19 12:15 PM, Tim Rühsen wrote: * cplus-dem.c (ada_demangle): Correctly calculate the demangled size by using two passes. So I'm not sure why, but I can't get this patch to apply.  What's even more interesting is ada_demangle doesn't seem to

Re: [PATCH] [libiberty] Fix write buffer overflow in cplus_demangle

2020-11-12 Thread Jeff Law via Gcc-patches
On 11/29/19 12:15 PM, Tim Rühsen wrote: > * cplus-dem.c (ada_demangle): Correctly calculate the demangled > size by using two passes. So I'm not sure why, but I can't get this patch to apply.  What's even more interesting is ada_demangle doesn't seem to have changed since 2010 and even if I ch

[PATCH] [libiberty] Fix write buffer overflow in cplus_demangle

2019-11-29 Thread Tim Rühsen
* cplus-dem.c (ada_demangle): Correctly calculate the demangled size by using two passes. Fixes #92453 --- libiberty/ChangeLog | 5 + libiberty/cplus-dem.c | 408 +++--- 2 files changed, 226 insertions(+), 187 deletions(-) diff --git a/libiberty/ChangeLo