[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9715f10c0651c9549b479b69d67be50ac4bd98a6 commit r12-8276-g9715f10c0651c9549b479b69d67be50ac4bd98a6 Author: Jakub Jelinek Date: W

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 Jakub Jelinek changed: What|Removed |Added Assignee|marxin at gcc dot gnu.org |jakub at gcc dot gnu.org --- Com

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #4 from Jakub Jelinek --- Oops, sorry Martin, missed you ASSIGNED this to yourself. If you have your fix for this, go ahead with it, if you don't, I can test mine.

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #3 from Jakub Jelinek --- So, the bug is clearly in asan_redzone_buffer::emit_redzone_byte. The off == offset case is handled correctly, but the other case is valid only if the gap is bigger such that we need to flush in between. --

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 --- Comment #2 from Jakub Jelinek --- I think the bug is visible in -fdump-rtl-expand-details dump: Partition 2: size 40 align 16 c Partition 1: size 8 align 8 b Partition 0: size 4 align 4 a_1 Partition 3: size 4 align 8

[Bug sanitizer/105396] missed stack-buffer-overflow by -O0

2022-04-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105396 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-04-26 Assignee|unassigned