Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-1453

Ensure BSON buffer is checked before reading regex pattern/flags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 1.6.8
    • Fix Version/s: 1.6.9
    • Component/s: pecl-mongo
    • Labels:
      None
    • # Replies:
      3
    • Last comment by Customer:
      false
    • Sprint:
      PHP Sprint 21

      Description

      Currently, bson_to_zval() only checks that we can read one null byte. We should handle these cstrings like BSON field names (i.e. check that we can read strlen() + 1 bytes).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jmikola Jeremy Mikola
              Reporter:
              jmikola Jeremy Mikola
              Participants:
              Last commenter:
              Rathi Gnanasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 11 weeks ago
                Date of 1st Reply: