]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: fix Segmentation Fault related to tags. 36055/head
authorzhuo li <lizhuo@chinatelecom.cn>
Sun, 12 Jul 2020 09:31:20 +0000 (17:31 +0800)
committerzhuo li <lizhuo@chinatelecom.cn>
Sun, 12 Jul 2020 13:06:32 +0000 (21:06 +0800)
commit5994ec12a7039f21b8f9e1077f2f721003de8cb6
tree2ce88422042dc7ebca5ae37c5c378b00d8c20b6c
parent8bcfaf29419cb2ddcad8421d7faa9c0a95c6b03b
rgwlc: fix Segmentation Fault related to tags.

It is found that rgw crashes when putting a tag beyond the rule to the object, which can be solved by adding the return value judgment.

Fixes: https://tracker.ceph.com/issues/46485
Signed-off-by: zhuo li <lizhuo@chinatelecom.cn>
Signed-off-by: yupeng chen <chenyupeng@chinatelecom.cn>
src/rgw/rgw_lc.cc