Apple on Wednesday released an update for its mobile operating system, fixing a vulnerability in viewing PDF files. The vulnerability first came to prominence when the jailbreakme.com site was relaunched on August 1. The site was able to offer a jailbreak for iPhones just by visiting a website.
iOS 4.0.2 is compatible with the iPhone 3G, 3GS, iPhone 4, iPod touch 2nd generation and iPod touch 3rd generation.
You can get iOS 4.0.2 by connecting your device to iTunes and checking for a new update.