]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
there could a case where capacity is equal to string size, and cause invalid write... 39553/head
authorgalsalomon66 <gal.salomon@gmail.com>
Wed, 17 Feb 2021 09:51:08 +0000 (11:51 +0200)
committerCasey Bodley <cbodley@redhat.com>
Thu, 18 Feb 2021 16:33:22 +0000 (11:33 -0500)
commitfb8893c485a4fa4c504e867bb78f03f855346580
tree4ebcbce3866c793179402569da5aa7e9bf24f650
parentabe639eb81ea86d01917e25aa2f61f16c88a7db0
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>
(cherry picked from commit f59f60c5a2076925224824f422fa841fab1aa6e1)
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h