]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: encryption add exception handling for from_base64 on bad input
authorEnming Zhang <enming.zhang@umcloud.com>
Fri, 25 Aug 2017 20:46:35 +0000 (04:46 +0800)
committerEnming Zhang <enming.zhang@umcloud.com>
Thu, 5 Oct 2017 13:22:53 +0000 (21:22 +0800)
commitf0b88e51be86d84793b794f6fe87fdda62004a4d
treeaa5952ae331a252e333d66e4c3425066e29268e0
parentf8c4be8a8943096217d89f7c5abd129fa2414b36
rgw: encryption add exception handling for from_base64 on bad input

If calling from_base64 with charactors that is not base64 encoded,
rgw will crash.

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
src/rgw/rgw_crypt.cc