]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw ldap: protect rgw::from_base64 from non-base64 input 10777/head
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 18 Aug 2016 14:54:16 +0000 (10:54 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 18 Aug 2016 14:54:16 +0000 (10:54 -0400)
commit0a4c91ec7652d02673a9b156cd16144d778a3844
tree390062f6d4a727276f12389a1e338eb7b0f4baad
parent0c9ada8ec6d6ebb3be2188f2f2c7398255ae801b
rgw ldap:  protect rgw::from_base64 from non-base64 input

Also adds unit tests for:
1. empty output from from_base64 (turns out to be harmless)
2. random and specific non-base64 and sort strings

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_rest_s3.h
src/test/test_rgw_token.cc