A modern cpu will shut down or downclock automatically when it reaches a dangerous temperature.
For haswell chips, that is near 100c.
Speedfan, a free app, can give you a warning if you exceed a cpu temperature point.
That lets you shut down gracefully which is better than a crash.