[Koha-bugs] [Bug 31259] Downloading patron card PDF hangs the server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 2 03:00:00 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31259

--- Comment #6 from Chris Nighswonger <cnighswonger at foundations.edu> ---
(In reply to David Cook from comment #3)
> I had the same problem years ago but fixed it with bug 22429 so must be
> something else causing the problem now. 
> 
> The infinite loop is probably in the "while(1)" block, and it probably
> relates to whatever data you're feeding in.

This while block is problematic (says the one who coded this mess): it has no
out in the case that the main conditional never evaluates true. There may be
some fringe cases where the regexp does not match... ever.

Hard to tell without data which causes the infinite looping.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list