Please review: [Bug 539618] Replication bulk import reports Invalid read/write
by Noriko Hosoi
Subject: Replication bulk import reports Invalid read/write
Descriptions: When a protocol is freed by prot_free, prot_close
is supposed to have been called to stop the main thread
prot_thread_main. But, there was no mechanism for the freeing
thread whether the prot_thread_main has already quitted or not,
it could have released the Repl_Protocol even though it was
still being in use. This fix is adding a checking method.
The same test revealed ldbm_back_modrdn had a chance to access
a field of NULL entry structure.
git patch file
13 years, 3 months