[Tickets #5925] Re: Authentication assumes that exists a horde session

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Nov 29 08:42:37 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5925
-----------------------------------------------------------------------
 Ticket             | 5925
 Updated By         | almarin at um.es
 Summary            | Authentication assumes that exists a horde session
 Queue              | Kronolith
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


almarin at um.es (2007-11-29 00:42) wrote:

Notice: Undefined offset: 0 in /usr/share/php/Horde/Cipher/blowfish.php on
line 337
Notice: Undefined offset: 1 in /usr/share/php/Horde/Cipher/blowfish.php on
line 337
Notice: Undefined offset: 2 in /usr/share/php/Horde/Cipher/blowfish.php on
line 337
...
Notice: Undefined offset: 71 in /usr/share/php/Horde/Cipher/blowfish.php
on line 337

The trace of this case is:
ics.php: line 41, $auth->authenticate....
  Auth::authenticate(): line 172, $this->setAuth...
  Auth::setAuth(): line 691, $credentials =
Secret::write(Secret::getKey...

      NOTE: here, Secret::getKey() return a empty value because in line
146 uses session_id(), and no session has been started

  Secret.php::write():line 52, $cipherCache[$cacheIdx]->setKey($key);
     NOTE: secret.php charge 'blowfish' as default Cipher.php, and because
$key is empty, blowfish.php gives all the Notice messages.

Hope that information is useful for you

Alfonso





More information about the bugs mailing list