]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't allow negative / invalid content length 4829/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 1 Aug 2014 23:15:36 +0000 (16:15 -0700)
committerOrit Wasserman <owasserm@redhat.com>
Tue, 2 Jun 2015 15:54:49 +0000 (17:54 +0200)
commit50e85797507a3ba13193f368cff461c08e44a9b3
tree413ba187b3cc3600db7d3ebf3d39c90bf4bfe91d
parent071c94385ee71b86c5ed8363d56cf299da1aa7b3
rgw: don't allow negative / invalid content length

Certain frontends (e.g., civetweb) don't filter such requests.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 0e74b7a1d56733358e2f1d3df4386125a94c2966)
src/rgw/rgw_common.h
src/rgw/rgw_op.cc
src/rgw/rgw_rest.cc