This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

The following commit(s) were added to refs/heads/master by this push:
       new  ef1daa6   Fixes padding byte being part of the POST/PUT data
ef1daa6 is described below

commit ef1daa6446dcc62eaeffa475498af41ef559398d
Author: Leif Hedstrom <[email protected]>
AuthorDate: Tue Apr 18 08:00:17 2017 -0600

    Fixes padding byte being part of the POST/PUT data
---
 proxy/http2/Http2ConnectionState.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/http2/Http2ConnectionState.cc 
b/proxy/http2/Http2ConnectionState.cc
index 350e836..6df7bd0 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -102,7 +102,7 @@ rcv_data_frame(Http2ConnectionState &cstate, const 
Http2Frame &frame)
   }
 
   if (frame.header().flags & HTTP2_FLAGS_DATA_PADDED) {
-    frame.reader()->memcpy(&pad_length, HTTP2_DATA_PADLEN_LEN, nbytes);
+    frame.reader()->read(&pad_length, HTTP2_DATA_PADLEN_LEN);
     nbytes += HTTP2_DATA_PADLEN_LEN;
     if (pad_length > payload_length) {
       // If the length of the padding is the length of the

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to