[Koha-bugs] [Bug 25903] New: Sending a SIP patron information request with a summary field flag in indexes 6-9 will crash server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 30 20:36:59 CEST 2020


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

            Bug ID: 25903
           Summary: Sending a SIP patron information request with a
                    summary field flag in indexes 6-9 will crash server
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

The 'summary' field in the patron information request specifies if detail
information should be send for holds, overdues, fines, etc. The field is 10
characters in length (0-9). However, the SIP2 spec only defines indexes 0
though 5, leave 6 though 9 undefined. Some ILSs specify behavior for these
undefined indexes. Apparently the 7th field is often used to request 'Fees', as
opposed to 'Fines' in some ILS. Some software that integrate via SIP try both
the 5th and 7th indexes to ensure they get all fines and fees.

The problem is that Koha's SIP server crashes if any 'summary' index beyond 5
is flagged. We should simply ignore flags beyond 5 and act as if no flags were
sent.

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


More information about the Koha-bugs mailing list