Apply patch from https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-0804