
Machinephile
@suvo_cdhry
Followers
121
Following
2K
Media
566
Statuses
4K
Learning sorcery and witchcraft on Computers | {C,++C} | UNIX Philosopher | Existential programmer | Computers made me do this, I can’t go back.
0x0
Joined October 2017
Encountered this warning when building zsh with gcc-14. Reproducing it, well the general sense of the things is clear. Patched zsh to not emit these annoying warnings. Let's see if that's a good idea. #Linux.
So for gcc with optimization >=2 enabled and -Wall will lead the compiler to "know" bounds of a static string pointed to by any pointer (which can be pointed to by another pointer and so on). img left) causes stack buf overflow and caught by the compiler .what about img right)?
0
0
1