[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:cc078cf85295ec5d0a63a16afbd045efac0d455e commit r13-1855-gcc078cf85295ec5d0a63a16afbd045efac0d455e Author: Jakub Jelinek Date: W

[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-17 Thread liftdat at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 --- Comment #3 from liftdat at protonmail dot com --- (In reply to Andrew Pinski from comment #1) > The one inside check_offload_target_name (in gcc.cc) will always have at > least one entry in candidates. > > The one inside cmdline_handle_error

[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 --- Comment #2 from Jonathan Wakely --- I suppose we could just put a gcc_assert in there to make that assumption explicit and give an ICE in checked builds.

[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 --- Comment #1 from Andrew Pinski --- The one inside check_offload_target_name (in gcc.cc) will always have at least one entry in candidates. The one inside cmdline_handle_error (in opts-common.cc) could in theory be called with no elements for