[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2022-02-10 Thread fredrik.hederstierna--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 --- Comment #7 from Fredrik Hederstierna --- I tested GCC-12 and it now correctly warns for these test cases. Great work, thanks!

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2022-02-08 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Sta

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 --- Comment #5 from Martin Liška --- > No, it verifies stuff just in compile time. Well I understand the arm-eabi Sorry, 'just in run-time'.

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-26 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 --- Comment #4 from Martin Liška --- (In reply to Fredrik Hederstierna from comment #3) > Isn't AddressSanitizer checking in run-time? There are several tools that > can find this bugs in runtime I think like Valgrind, but I need to find this > a

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-25 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 --- Comment #3 from Fredrik Hederstierna --- Isn't AddressSanitizer checking in run-time? There are several tools that can find this bugs in runtime I think like Valgrind, but I need to find this at compile-time. I use embedded arm-eabi target

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/81524] Bogus or missing warnings when dereferencing pointer to deallocated stack memory

2017-07-24 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81524 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1