masayuki2009 commented on a change in pull request #959:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/959#discussion_r778640247



##########
File path: wireless/gs2200m/gs2200m_main.c
##########
@@ -389,17 +406,17 @@ static int usrsock_request(int fd, FAR struct gs2200m_s 
*priv)
       return -EIO;
     }
 
-  assert(handlers[com_hdr->reqid].hdrlen < sizeof(hdrbuf));
+  assert(handlers[com_hdr->reqid].hdrlen < sizeof(req));

Review comment:
       @anchao 
   
   I found that the assertion happend here.
   I confirmed the following condition works.
   
   ```
     assert(handlers[com_hdr->reqid].hdrlen <= sizeof(req));
   ```
   




-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to