Dhruba Borthakur
bb2dcd2457
Segfault in DoCompactionWork caused by buffer overflow
Summary:
The code was allocating 200 bytes on the stack but it
writes 256 bytes into the array.
x8a8ea5 std::_Rb_tree<>::erase()
@ 0x7f134bee7eb0 (unknown)
@ 0x8a8ea5 std::_Rb_tree<>::erase()
@ 0x8a35d6 leveldb::DBImpl::CleanupCompaction()
@ 0x8a7810 leveldb::DBImpl::BackgroundCompaction()
@ 0x8a804d leveldb::DBImpl::BackgroundCall()
@ 0x8c4eff leveldb::(anonymous namespace)::PosixEnv::BGThreadWrapper()
@ 0x7f134b3c010d start_thread
@ 0x7f134bf9f10d clone
Test Plan: run db_bench with overwrite option
Reviewers: heyongqiang
Reviewed By: heyongqiang
Differential Revision: https://reviews.facebook.net/D5595
2012-09-21 10:55:38 -07:00
..
2012-08-27 21:24:17 -07:00
2011-10-31 17:22:06 +00:00
2012-08-28 11:43:33 -07:00
2012-09-06 17:52:08 -07:00
2012-06-27 14:36:31 -07:00
2012-09-17 13:59:57 -07:00
2012-09-17 09:14:50 -07:00
2012-09-21 10:55:38 -07:00
2012-09-17 09:14:50 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-05-30 16:42:45 -07:00
2012-09-16 19:33:43 -07:00
2012-09-17 09:14:50 -07:00
2011-10-31 17:22:06 +00:00
2012-04-17 08:36:46 -07:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-09-06 17:52:08 -07:00
2012-09-06 17:52:08 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-05-11 09:57:40 -07:00
2011-10-31 17:22:06 +00:00
2012-05-30 16:42:45 -07:00
2012-04-17 08:36:46 -07:00
2012-06-27 14:36:31 -07:00
2012-08-29 14:24:51 -07:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-09-21 10:55:38 -07:00
2012-09-17 09:14:50 -07:00
2012-03-08 16:23:21 -08:00
2012-03-08 16:23:21 -08:00
2012-03-08 16:23:21 -08:00