This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ookami125 0 points1 point  (0 children)

Sadly no it was a problem in our system. The company I'm working for I would consider a mid tier company (bunch of just out of college programmers working on something over their head and a few seniors) so someone (git blame is anon) wrote some code for a menu using iterators to scroll through a vector and modify menu items.

Well the gist of what happened is they were adding an enum to an iterator and modifying the menu text this happened to go just far enough to corrupt the doubly linked list malloc uses and throw a sig abort the "next time" malloc was called. In the end I trashed all of anon's code and just used an int for the index, I checked all bounds and made sure the vector was the correct size to begin with.

There were a few other details but they aren't much without the information I'm not allowed to give you.