Added CVE-2012-6649. Fix #509