diff options
author | Martin Corino <mcorino@remedy.nl> | 2015-08-31 10:51:10 +0200 |
---|---|---|
committer | Martin Corino <mcorino@remedy.nl> | 2015-08-31 10:51:10 +0200 |
commit | abb7f56a6cc6bace6ccceaa415dde311d63e9ce1 (patch) | |
tree | 89ffdb3cda267f11fe6a496b0776ca87fd774660 /ACE/protocols/ace | |
parent | 392bd7909440c44c5b961fecef14f6e92a4f9889 (diff) | |
download | ATCD-abb7f56a6cc6bace6ccceaa415dde311d63e9ce1.tar.gz |
Fix incorrect buffer access.
* ACE/protocols/ace/INet/BufferedStreamBuffer.cpp:
Diffstat (limited to 'ACE/protocols/ace')
-rw-r--r-- | ACE/protocols/ace/INet/BufferedStreamBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp b/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp index 4eef552bd5d..514de700ebc 100644 --- a/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp +++ b/ACE/protocols/ace/INet/BufferedStreamBuffer.cpp @@ -65,7 +65,7 @@ namespace ACE if (putback > 4) putback = 4; ACE_OS::memmove (this->buffer_.get () + (4 - putback), - this->gptr (), + this->gptr () - putback, putback * sizeof (char_type)); if (this->interceptor_) |