Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.16.14

Bug #16884 RC4 decryptPW uses wrong param
Submitted: 2009-12-07 21:25 UTC
From: jadjei Assigned:
Status: Open Package: LiveUser (version 0.16.13)
PHP Version: 5.3.0 OS: CentOS 5
Roadmaps: (Not assigned)    
Subscription  


 [2009-12-07 21:25 UTC] jadjei (Jonathan Adjei)
Description: ------------ $decryptedPW given where $encryptedPW should be in decryptPW function Test script: --------------- $LU->decryptPW($users[0]['passwd'], 'rc4', 'test') Expected result: ---------------- the decrypted password Actual result: -------------- Notice: Undefined variable: decryptedPW in /usr/share/pear/LiveUser.php on line 856 Warning: mdecrypt_generic(): An empty string was passed in /usr/share/pear/LiveUser.php on line 943

Comments

 [2009-12-08 18:55 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
How similar to Bug #16885 is this?
 [2009-12-08 19:04 UTC] jadjei (Jonathan Adjei)
This is a different bug affecting the same output. They are in different files so I thought they'd better be in seperate bug reports. This one is a simple typo. $decryptedPW used where $encryptedPW should have been. There is no variable within the scope of the decryptedPW() function called $decryptedPW.
 [2011-09-29 14:17 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: Open