未验证 提交 910e0aae 编写于 作者: H Haojun Liao 提交者: GitHub

Merge pull request #21746 from taosdata/fix/TS-3540

fix:null pointer error if restore from file
......@@ -616,6 +616,8 @@ void *tDecodeSubscribeObj(const void *buf, SMqSubscribeObj *pSub, int8_t sver) {
}
}
buf = taosDecodeString(buf, &pSub->qmsg);
}else{
pSub->qmsg = taosStrdup("");
}
return (void *)buf;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册