Re: [PR] avoid variable length arrays [nuttx]

2025-01-16 Thread via GitHub
yamt commented on code in PR #15577: URL: https://github.com/apache/nuttx/pull/15577#discussion_r1917913549 ## net/usrsock/usrsock_sendmsg.c: ## @@ -142,9 +143,18 @@ static int do_sendto_request(FAR struct usrsock_conn_s *conn, { }; - struct iovec bufs[2 + msg->msg_iov

Re: [PR] avoid variable length arrays [nuttx]

2025-01-16 Thread via GitHub
yamt commented on code in PR #15577: URL: https://github.com/apache/nuttx/pull/15577#discussion_r1917913312 ## net/usrsock/usrsock_sendmsg.c: ## @@ -142,9 +143,18 @@ static int do_sendto_request(FAR struct usrsock_conn_s *conn, { }; - struct iovec bufs[2 + msg->msg_iov

Re: [PR] avoid variable length arrays [nuttx]

2025-01-15 Thread via GitHub
xiaoxiang781216 commented on code in PR #15577: URL: https://github.com/apache/nuttx/pull/15577#discussion_r1917703775 ## net/usrsock/usrsock_sendmsg.c: ## @@ -142,9 +143,18 @@ static int do_sendto_request(FAR struct usrsock_conn_s *conn, { }; - struct iovec bufs[2 + m

Re: [PR] avoid variable length arrays [nuttx]

2025-01-15 Thread via GitHub
nuttxpr commented on PR #15577: URL: https://github.com/apache/nuttx/pull/15577#issuecomment-2594468015 [**\[Experimental Bot, please feedback here\]**](https://github.com/search?q=repo%3Aapache%2Fnuttx+13552&type=issues) __Fill In The Commit Message:__ This PR contains a Commit with