Commit Graph

8 Commits

Author SHA1 Message Date
Keith Bostic
5b509b7220 Update copyright notices for 2014.
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Keith Bostic
6ea2734130 CID 1129079 (#1 of 1): Uninitialized pointer read (UNINIT)
8. uninit_use: Using uninitialized value "value".

Restructure so we drop core if there's a problem (initialize
key & value to NULL), and we don't read "value" unless it's
been initialized.
2013-11-15 19:59:49 -05:00
Keith Bostic
1701b0416a CID 1129075 (#2 of 2): Copy into fixed size buffer (STRING_OVERFLOW)
2.  fixed_size_dest: You might overrun the 10 byte fixed-size string
"keybuf" by copying "op->key" without checking the length.
2013-11-15 19:59:49 -05:00
Michael Cahill
3cb521c73d Fix some warnings from clang. 2013-10-23 11:41:58 +11:00
Keith Bostic
2bd115e757 Change WT_CURSOR::insert to not hold a position/resources in the tree on
success.

Add additional wording that WT_CURSOR::reset should be called after any
of the WT_CURSOR search, search-near, update or remove methods, once
the cursor is no longer being used to iterate or retrieve values.

Closes #587.
2013-09-10 12:26:37 -04:00
Michael Cahill
118f99d736 whitespace 2013-08-02 09:51:46 +10:00
Michael Cahill
944950c4ff Don't clear the key after a cursor remove.
refs #607
2013-08-01 23:54:10 +10:00
Michael Cahill
b2814ef953 Clarify when applications have to keep key/value buffers valid. 2013-07-29 12:45:38 +10:00