Further improvements to the security fix in 16ac9e9a4185d3315152ade5286d4dd3d25bff32
authorNick Cleaton <nick@cleaton.net>
Sun, 7 Mar 2010 14:27:31 +0000 (15:27 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sun, 7 Mar 2010 21:14:58 +0000 (22:14 +0100)
commit305aa7ae7250ccd59885f2ac5fa4f5fde410f98a
tree5b17ab23fc12a138c31cee40e06ac59f776e13e0
parent47e9bce17f6c887ae177ab3580e24e7b130669c4
Further improvements to the security fix in 16ac9e9a4185d3315152ade5286d4dd3d25bff32

- Destroy all stash entries at once to avoid race conditions.
- For that we save away reference to stashes entries (not
  stash entries themselves like previously, to avoid trigerring
  tie methods)
- Don't skip sub-packages that might be named "main::"
dist/Safe/Safe.pm