free() of memory containing active spinlock
Bug #782433 reported by
Vladislav Vaintroub
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Medium
|
Vladislav Vaintroub | ||
PBXT |
Fix Committed
|
Undecided
|
Vladimir Kolesnikov |
Bug Description
xt_heap_release() does not release spinlock hp->h_lock that is initialized in xt_heap_new().
This makes Windows application verifier unhappy.
Fix:
--- storage/
+++ storage/
@@ -109,6 +109,7 @@
if (hp->h_finalize)
(*
xt_
+ xt_spinlock_
xt_free(self, hp);
return;
}
Related branches
lp:~vkolesnikov/pbxt/pbxt-maria-windows-app-ver-fixes
- PBXT Core: Pending requested
-
Diff: 171 lines (+22/-9)9 files modifiedsrc/cache_xt.cc (+5/-0)
src/discover_xt.cc (+1/-1)
src/ha_pbxt.cc (+2/-2)
src/heap_xt.cc (+1/-0)
src/lock_xt.cc (+5/-0)
src/lock_xt.h (+1/-0)
src/table_xt.cc (+6/-4)
src/xaction_xt.cc (+0/-1)
src/xt_defs.h (+1/-1)
Changed in pbxt: | |
assignee: | nobody → Vladimir Kolesnikov (vkolesnikov) |
status: | New → Fix Committed |
To post a comment you must log in.
Fixed in MariaDB 5.2.7