secmem implementation has two bugs:
(1) Under some heavy use, it gets SEGV.
(2) Calculation of allocated memory is wrong.
I think this patch fixes these two problems.
Differential D431
secmem fix • gniibe on Jun 1 2017, 2:13 PM. Authored by Tags Subscribers None
Details
secmem implementation has two bugs: I think this patch fixes these two problems.
Diff Detail
Event TimelineComment Actions Here is a test case: It doesn't dump core on my x86 GNU/Linux, but we can see invalid stats. Running under valgrind, it dumps core. |