It looks like HTC could have solved the One M9's overheating problems through a software update. Earlier this week, a test proved that the non-final version of the One M9 overheats at up to 55 degrees Celsius.
http://www.notebookcheck.net/HTC-allegedly-solves-One-M9-overheating-through-software-update.138816.0.html