Apple today released iOS 7.1.2 to the public, more than two months after releasing iOS 7.1.1. iOS 7.1.2 is a minor update that focuses primarily on bug fixes and security improvements, repairing an email attachment encryption issue and fixing a bug with data transfer for third-party accessories. The update also includes improvements to iBeacon.
http://www.macrumors.com/2014/06/30/apple-release-ios-7-1-2/
http://support.apple.com/kb/HT1222