Bug #1724

Unserialzing of persisted objects will call the __wakeup function

Added by Christian Jul Jensen almost 13 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Must have
Category:
Persistence
Target version:
-
Start date:
2008-10-15
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

If a user for some reason wants to serializa an object that has been persisted, it will call the persistence frameworks __wakeup function upon unserializing, which will expect stuff to be available in $GLOBALS and then fail.

I didn't test it, just came across looking into the persistence code.

#1

Updated by Karsten Dambekalns over 12 years ago

  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
#2

Updated by Karsten Dambekalns over 12 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1912.

Also available in: Atom PDF