]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: encryption add exception handling for from_base64 on bad input 18429/head
authorEnming Zhang <enming.zhang@umcloud.com>
Fri, 25 Aug 2017 20:46:35 +0000 (04:46 +0800)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 20 Oct 2017 14:42:00 +0000 (16:42 +0200)
commit17df0ba8f00abbf4b30e0370090251b0c7f6b643
tree3a0043df28235ca22d09d64218c5cc60f2f3a31b
parent46f09e3803ba3c4b463bfa6a2eeb40a0bd7cc0ef
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>
(cherry picked from commit f0b88e51be86d84793b794f6fe87fdda62004a4d)
src/rgw/rgw_crypt.cc