Fix an security iusse (FIX #461)

git-svn-id: http://2moons.googlecode.com/svn/trunk@2742 b16e238e-0886-11df-aae1-e754eacfc418