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.
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.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Trond Norbye
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Matt Ingenthron [ ingenthr ] | Trond Norbye [ trond ] |
Trond Norbye
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Trond Norbye
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Fix Version/s | 1.1.4 [ 10464 ] | |
| Resolution | Fixed [ 1 ] |