The Underhanded C Contest is an annual programming contest that challenges participants to write code that appears innocent but contains subtle bugs. The winning entry of the 2015 contest exploited type confusion with float types, using a clever bitwise representation trick to produce usable results. The attack was transparent to the filtering and preprocessing of data, allowing the attacker to manipulate the system in a way that wouldn't trigger suspicion.
Sort: