Apple issues a patch to fix a dangerous security flaw in iPhones and iPads.