|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-16 20:18 UTC] jani@php.net
[2010-02-16 23:14 UTC] joey@php.net
[2010-02-21 18:11 UTC] svn@php.net
[2010-02-21 19:58 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 04:00:02 2025 UTC |
Description: ------------ Prior to 5.3, crypt() would safely handle certain invalid salts. With the switch to the new DES-based crypt() provider in 5.3, it segfaults. In discussing this with Pierre, he indicated the problem was in do_des(). Reproduce code: --------------- <?php var_dump(crypt('a', '_')); Expected result: ---------------- string(13) "_$MoLFnWnJ4yk" Actual result: -------------- Segmentation fault