acassis commented on code in PR #11856:
URL: https://github.com/apache/nuttx/pull/11856#discussion_r1515233989


##########
net/local/local_accept.c:
##########
@@ -99,7 +98,7 @@ int local_accept(FAR struct socket *psock, FAR struct 
sockaddr *addr,
                  FAR socklen_t *addrlen, FAR struct socket *newsock,
                  int flags)
 {
-  FAR struct local_conn_s *server;
+  FAR struct local_conn_s *server = psock->s_conn;

Review Comment:
   Should we include a debug assertion for case where "server" is NULL ?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to