diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-02-04 12:03:55 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-02-04 12:03:55 +0000 |
commit | 652f1c552c27831cf78ba6fb6308463ee513023d (patch) | |
tree | a37bd72d078f170b6bf3e7c511316d2beb0039cd /t/app/controller | |
parent | 3609368292003c773ae27e9b3da753e36cf3455d (diff) |
Fix infinite memory-eating loop.
Reading from $problem->areas is a new string each time, so the
global regex gets reset and the loop never ends. Look up the value
once, first, to prevent this.
Diffstat (limited to 't/app/controller')
0 files changed, 0 insertions, 0 deletions