You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/07/21 10:35:44 UTC

[GitHub] [mynewt-nimble] rymanluk commented on a change in pull request #1003: host/l2cap: disconnect if received packet is larger than MPS

rymanluk commented on a change in pull request #1003:
URL: https://github.com/apache/mynewt-nimble/pull/1003#discussion_r673859029



##########
File path: nimble/host/src/ble_l2cap.c
##########
@@ -387,6 +387,15 @@ ble_l2cap_rx(struct ble_hs_conn *conn,
             goto err;
         }
 
+        if (l2cap_hdr.len > chan->my_coc_mps) {

Review comment:
       what about ATT ? in such a case chan->my_coc_mps is 0 I believe. Or not? 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org