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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.1
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          There are no comments yet on this issue.

          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