[Bugs] [Bug 1717757] BItrot: Segmentation Fault if bitrot stub do signature

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 6 06:59:29 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1717757



--- Comment #2 from Amar Tumballi <atumball at redhat.com> ---
Can you check if below works?

diff --git a/xlators/features/read-only/src/worm.c
b/xlators/features/read-only/src/worm.c
index cc3d15b8b2..6b44eae966 100644
--- a/xlators/features/read-only/src/worm.c
+++ b/xlators/features/read-only/src/worm.c
@@ -431,7 +431,7 @@ worm_create_cbk(call_frame_t *frame, void *cookie, xlator_t
*this,

     priv = this->private;
     GF_ASSERT(priv);
-    if (priv->worm_file) {
+    if (priv->worm_file && (op_ret >= 0)) {
         dict = dict_new();
         if (!dict) {
             gf_log(this->name, GF_LOG_ERROR,


----

Great if you can confirm this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the Docs Contact for the bug.


More information about the Bugs mailing list