]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: check invalid input in do_xattr_cmp_u64()
authorKefu Chai <kchai@redhat.com>
Tue, 29 Jun 2021 06:43:57 +0000 (14:43 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 29 Jun 2021 06:54:08 +0000 (14:54 +0800)
commitf39d71ecaa90137ab7cc310d09a06c26cb6b2335
tree71cae04e3536edb125181a54efa9d245da3a4ec2
parent4561fb36f83c5247c49fb12ce6d7729f26ef1b22
crimson/osd: check invalid input in do_xattr_cmp_u64()

we should return -EINVAL if the string does not represent a decimal
integer.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg_backend.cc