Details
Description
While doing query to couchbase via cbclient.get(keys,function (err, doc, meta)
{ ... }) where keys are invalid (in fact keys were array of array when I've spotted this bug: something like [[1,2,3],[1,5,6]...] ) it cause app crash (no error thrown in callback, callback never called). Application crashes with "Process finished with exit code -1073741819"
Sample code:
var keys = [[1,2,3],[4,6,3]];
couchbase.get(keys, function (err, doc, meta) {
if (err === null)
else
{ console.log('All bad', err); }}
Also docs with that keys are not exist in base.
Attachments
For Gerrit Dashboard: JSCBC-25 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
25875,3 | JSCBC-25 Validate input parameters | master | couchnode | Status: MERGED | +2 | +1 |
28997,3 | Fixing JSCBC-25 test (previously would never fail) | master | couchnode | Status: MERGED | +2 | +1 |