commit | e323f3fae2ba890b8547c46743233cf6c3da14de | [log] [tgz] |
---|---|---|
author | mostang.com!davidm <mostang.com!davidm> | Fri Sep 19 06:56:12 2003 +0000 |
committer | mostang.com!davidm <mostang.com!davidm> | Fri Sep 19 06:56:12 2003 +0000 |
tree | 333540170777b36f3047d26f2f4dc0d86d30497a | |
parent | b3c1bf3f756f6576af44998d2f31dcbe8e9db466 [diff] |
Fix script cache bug found by Brian Sumner: unw_flush_cache() would (eventually) clear the IP values of all scripts, but failed to update the hash/collision-chain info, which could result in loops in the collision-chains. Fixed by flushing the cache under the global lock and since things are locked now, we can update the collision-chain etc. without fear of races. Added test-flush-cache to test for this error-condition. BKrev: 3f6aa88cQRr-NcDXg_8mM3dN2esAQQ