Failsafe is based on the same novel that Dr. Strangelove was based on - but while the (imho vastly superior) Kubrick movie was a comedy, Failsafe is more a warning.
[I'm basing this on a reading of Wikipedia - https://en.wikipedia.org/wiki/Fail_Safe_(1964_film)#Lawsuit ]