On 1/10/19 5:17 PM, Ben L wrote:
> Hi all,
> 
> First time emailing gcc-patches, so I'm sorry if I get any of this wrong or if
> there's obvious errors repeated in my patches. AFAICT I should be sending each
> change individually rather than as one bulk patch, so I'm sorry about the spam
> too.
> 
> All of these changes were found by fuzzing libiberty's demanglers over the
> past week, and I have at least one more that it's currently crashing out on
> but I haven't had time to look into why yet.
> 
> Obviously since this is my first time emailing I don't have write access to
> commit any of these, so if any are approved then I'd be grateful if you can
> commit them too.
> 
> Thanks,
> Ben
> 
> --
> 
> A char array of size 10 was created on the stack to hold the decimal
> representation of a long, which on my platform is 64 bits and hence has a
> maximum value of 9223372036854775807, far exceeding 10 characters.
> 
> Fix this by bumping the size of the array to 20 characters.
> 
>      * d-demangle.c (dlang_parse_integer): Fix stack underflow.
>      * testsuite/d-demangle-expected: Add testcase.
> 
THanks.  I've installed this on the trunk.
jeff

Reply via email to