Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-464

NumericRangeSearchFacet::addRange() generates fatal error when one of the ends is NULL on PHP 5.4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.1
    • None
    • None
    • None

    Description

      PHP 5.4 does not support "d!" in param parsing API, so we silently try to use invalid value as range boundary, which generates fatal error like this one:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2405181686 bytes)
      

      Attachments

        For Gerrit Dashboard: PCBC-464
        # Subject Branch Project Status CR V

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty