fixing CVE-2013-1854
Merge pull request #27 from jrgifford/fixing-cve-2013-1854

fixing CVE-2013-1854