ID: 10324
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Assigned
Status: Closed
Bug Type: mcrypt related
Operating System: Linux PPC (yellow dog 1.2) and R
PHP Version: 4.0.6
Old Assigned To: derick
Assigned To: 
New Comment:

Should be fixed in CVS, can you try (in about a day) the 
latest snapshot from snaps.php.net ?

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-07-04 13:16:59] [EMAIL PROTECTED]

Sorry,

I was wrong about the exact string that causes the problem I mentioned yesterday... I 
remembered that I'm actually URL encoding the data prior to encrypting it so the 
string is really "Reed%2C+Phyllis". The key is still 
"70094cc48e1a23bf6fec60c2db6e4b71"...

Take care,
kpw

------------------------------------------------------------------------

[2001-07-04 04:15:23] [EMAIL PROTECTED]

Assigning to myself

------------------------------------------------------------------------

[2001-07-03 22:51:56] [EMAIL PROTECTED]

Here's the link to a script that exhibits this problem 100% of the time on my 
PPC/YellowDog server as well as a production machine at phpwebhosting.com:

http://www.jump9.com/_testcrypt.txt 


I've tried this under several version of php (including the current 4.0.6) as well as 
with every available release of libmcrypt (2.4.7-2.4.15) all without effect.  Given 
that I have the same problem on a production webserver at phpwebhosting as I do on my 
own homemade PPC linux box I'm guessing this is real problem...

Any thoughts would be greatly appreciated...


kpw 




------------------------------------------------------------------------

[2001-07-03 11:28:04] [EMAIL PROTECTED]

Here's an example:

If encrypt the string "Reed, Phyllis" with the key "70094cc48e1a23bf6fec60c2db6e4b71" 
using blowfish in CBC mode mycrypt will seg fault.  However, if I change the string to 
"Reed,Phyllis" (no space) everything's fine.  Removing a chacter from the end (""Reed, 
Phylli") doesn't fix the problem though, so it's apparently not length related.

Very strange indeed...
kpw 

------------------------------------------------------------------------

[2001-07-03 10:48:42] [EMAIL PROTECTED]

Hi,

This still seems to be a problem in 4.0.6.  I'm pretty sure that it is caused by 
specific strings being passed into mycrypt, however, I'm not sure what string 
characteristics cause the problem.  

kpw

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/?id=10324


Edit this bug report at http://bugs.php.net/?id=10324&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to