Package: php5
Version: 5.3.3-7+squeeze1
Severity: normal

Since Debian Squeeze the behaviour of the crypt() function changed.
With an empty second argument (salt), the result is always an empty string
instead of a hash string (see documentation for the crypt() function).

$ php -r 'var_dump(crypt("",""));'
string(0) ""

$ php -r 'var_dump(crypt("test",""));'
string(0) ""

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5 depends on:
ii  libapache2-mod-php5     5.3.3-7+squeeze1 server-side, HTML-embedded scripti
ii  php5-common             5.3.3-7+squeeze1 Common files for packages built fr

php5 recommends no packages.

php5 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to