[Koha-bugs] [Bug 21092] Bad template in patron card creator can cause server issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 8 22:16:19 CEST 2022


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

Chris Nighswonger <cnighswonger at foundations.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.koha-community
                   |                            |.org/bugzilla3/show_bug.cgi
                   |                            |?id=31259

--- Comment #10 from Chris Nighswonger <cnighswonger at foundations.edu> ---
(In reply to Liz Rea from comment #9)
> This may be related to the line wrapping code? i.e. we get into a templated
> situation where we get into the while(1) loop and never get out. More
> recently lately we've seen the following in our logs when these fail (also
> this generates gigs and gigs of logs! It's terrible!)

See my comment here:

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

The root problem may be the same.

An immediate solution would be to add a conditioned break to the loop that
trips when the loop count exceeds the total length of the line being wrapped.
That at least should prevent infinite looping.

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


More information about the Koha-bugs mailing list