Description
Reproduction, by asya:
$ ./mongo
|
> <ctl-s>
|
hit down arrow
|
(i-search)`': Sun Jun 10 14:54:24 mongo got signal 11 (Segmentation fault: 11), stack trace
|
Coverity output:
Null pointer dereferences
|
A null pointer dereference will occur.
|
Dereference of an explicit null value
|
|
|
Defect 10069 (STATIC_C)
|
Checker FORWARD_NULL (subcategory deref_constant_null)
|
File /src/mongo/shell/linenoise.cpp
|
Function InputBuffer::incrementalHistorySearch(PromptBase &, int)
|
/src/mongo/shell/linenoise.cpp, line: 1640
|
Assigning: "activeHistoryLine" = "NULL".
|
UChar32* activeHistoryLine = 0;
|