diff options
author | Kotresh HR <khiremat@redhat.com> | 2015-06-17 14:39:26 +0530 |
---|---|---|
committer | Venky Shankar <vshankar@redhat.com> | 2015-06-19 00:12:29 -0700 |
commit | d37920661fa36aa1c77de20351d79f7378222e80 (patch) | |
tree | 2144eaec5f21e6e98ad8cfebf64bc527abbaf29a /xlators/features/bit-rot | |
parent | 84479bfa28f91c993b4e4a1f0f259a3ae1576791 (diff) |
libgfchangelog: Fix crash in gf_changelog_process
Problem:
Crash observed in gf_changelog_process and
gf_changelog_callback_invoker.
Cause:
Assignments to arguments passed to thread is done
post thread creation. If the thread created gets
scheduled before the assignment and access these
variables, it would crash with segmentation fault.
Solution:
Assignments to arguments are done prior to the thread
creation.
BUG: 1233044
Change-Id: I520599ab43026d25f4064ce71bd5a8b8e0d4b90a
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/11273
Reviewed-on: http://review.gluster.org/11308
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot')
0 files changed, 0 insertions, 0 deletions