]> granicus.if.org Git - apache/commit
Fix a potential memory overrun error in ap_get_client_block. The problem
authorRyan Bloom <rbb@apache.org>
Fri, 6 Oct 2000 16:41:30 +0000 (16:41 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 6 Oct 2000 16:41:30 +0000 (16:41 +0000)
commit283760d18b9bd1c90f4534cc97aae3737c5a059d
treedab8beae0814a3fa8b76ec63030f1a865f6d9c70
parent394b6fee3d8bb9a2957c2c6f1924522962d34edc
Fix a potential memory overrun error in ap_get_client_block.  The problem
is that the bucket code does not respect the length passed into it.  This
is correct for buckets, but it means that when we get data out of the
buckets, we may have to split the bucket to make sure that any copy
operations are safe.  We were originally doing the split at the number of
characters read from the bucket, but we really want to do it at the length
of the buffer.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86415 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_protocol.c