Fix bug 819704.
Merge pull request #992 from ubernostrum/security-819704

Fix bug 819704.