LP#1509479: set a limit on loops in QP's decompse() method user/gmcharlt/lp1509479_fix_qp_infinite_loop_take2
authorGalen Charlton <gmc@esilibrary.com>
Fri, 23 Oct 2015 20:03:07 +0000 (20:03 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 23 Oct 2015 20:06:40 +0000 (20:06 +0000)
commit6abff6725a233b7d77de0586bca4a68501cf9808
tree9e157953fc1187a56b591367f0299eb0380599f0
parenta8e46249fdf6842fe64bff42507d07d402e0de09
LP#1509479: set a limit on loops in QP's decompse() method

Following a suggestion of Dan Scott's, add a pair of
suspenders to the belt and enforce an arbitrary limit
of 1000 passes through QP->decompse().

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.pm