I joined a team and was assigned a bug that had been bugging them for two years. Randomly files they saved would be corrupted.
Eventually isolated it to the third party library they used to serialize the data. For some reason this library corrupted file names that were an odd length. So "cat" would get corrupted while "cats" would save and load just fine. It was a black box library we didn't control so was told to just program a workaround to check filename length and append a character if it was odd and move on.
I still want to know what that library was doing.
