On Mon, Dec 9, 2024 at 8:39 AM Heiko Eißfeldt <he...@hexco.de> wrote: > > On 12/8/24 10:17 AM, Richard Biener wrote: > > Note you picked a difficult patch - as said, the atoi fix looks OK to > me, even if > it doesn't solve downstream issues. Can you split that out so I can > approve that > separately? > > Thanks for your insights. I am a bit relieved that I don't have to > handle all of the fallout.
Can you send the patch in git format-patch format please so that it includes the commit message and Author tag and I can git am for pushing? At least you are not listed in MAINTAINERS and thus likely do not have git commit access? Thanks, Richard. > PR c/114541 > * gimple-parser.cc (c_parser_gimple_parse_bb_spec): > Use strtoul with ERANGE check instead of atoi to avoid UB > and detect invalid __BB#. The full treatment of these invalid > values was considered out of scope for this patch. > > Signed-off-by: Heiko Eißfeldt <he...@hexco.de> >