Description
In subdoc_create_context() we're catching std::bad_alloc and returns nullptr, but the caller subdoc_executor don't handle the situation, and will try to dereference context pointer
Attachments
For Gerrit Dashboard: MB-21762 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
70239,2 | MB-21762: Return ENOMEM instead of dereference nullptr | watson | memcached | Status: MERGED | +2 | +1 |
70252,1 | Merge remote-tracking branch 'couchbase/watson' | master | memcached | Status: MERGED | +2 | +1 |