Login
Roast topics
Find topics
Find it!
From:
Petr Zemek
(Uncensored)
subscribe
Accidentally Overwriting Another Local Variable in C and C++
https://blog.petrzemek.net/2019/12/05/accidentally-overwriting-another-local-variable-in-c-and-cpp/
links
backlinks
Tagged with:
programming
c++
software engineering
bug
Roast topics
Find topics
Roast it!
An example of a subtle bug that you can run into in C and C++: accidentally overwriting another local variable. Such an issue can manifest only on certain systems, and can be hard to debug if you have not seen it before. An oldie but goodie.