]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
there could a case where capacity is equal to string size, and cause invalid write...
authorgalsalomon66 <gal.salomon@gmail.com>
Wed, 17 Feb 2021 09:51:08 +0000 (11:51 +0200)
committergalsalomon66 <gal.salomon@gmail.com>
Wed, 17 Feb 2021 09:51:08 +0000 (11:51 +0200)
commitf59f60c5a2076925224824f422fa841fab1aa6e1
tree001c19c9c8d1b5a589c3a723fe2966025a867d3d
parent3f5e778ad6f055296022e8edabf701b6958fb602
there could a case where capacity is equal to string size, and cause invalid write(4 bytes); thus also the last 4-bytes are appended

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h