Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.1.4
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      Providing a malformed array as a parameter to setMulti() results in "Segmentation fault (core dumped)"

      The issue can be replicated with the following script:
      https://gist.github.com/8a08980573d47c22aecc#file-seg_fault-php

      if instead of providing
      $docs[]['TEST_DOC::' . $x] = '

      {"a" : 1}

      ';
      we provide the correct structure
      $docs['TEST_DOC::' . $x] = '

      {"a" : 1}

      ';

      It works ok, but the first shouldn't segfault.

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

        Activity

        jsimon Juan Simon created issue -
        trond Trond Norbye made changes -
        Field Original Value New Value
        Assignee Matt Ingenthron [ ingenthr ] Trond Norbye [ trond ]
        trond Trond Norbye made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        trond Trond Norbye made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.1.4 [ 10464 ]
        Resolution Fixed [ 1 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 24182 ] Couchbase SDK Workflow [ 44395 ]

          People

          • Assignee:
            trond Trond Norbye
            Reporter:
            jsimon Juan Simon
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes