DEV Community

Discussion on: What was the worst bug you've ever written?

Collapse
 
cathodion profile image
Dustin King

When I added a new feature to an old and heavily used C++ server program, my code had a memory leak in it, that probably would have caused a lot of crashes in production. Fortunately the sysadmin put it through its paces in a "burn-in" period in the staging environment, so the issue was found and fixed before ever going to production.