[sqlite] Using uninitialized value nDummy when calling vdbePmaReaderInit

2015-08-15 Thread Rowan Worth
On 15 August 2015 at 14:35, Carlos Tangerino wrote: > > The variable nDummy is not initialized *(1)* in the function but its > pointer *(2)* is passed to *vdbePmaReaderInit* that increments *(3)* its > value. > nDummy is never used after vdbePmaReaderInit though, so it doesn't really matter that

[sqlite] Using uninitialized value nDummy when calling vdbePmaReaderInit

2015-08-15 Thread Carlos Tangerino
Bug list return me error, so posting here hoping someone watchs it. A suspicious piece of code. The variable nDummy is not initialized *(1)* in the function but its pointer *(2)* is passed to *vdbePmaReaderInit* that increments *(3)* its value. static int vdbeMergeEngineLevel0( SortSubtask