masayuki2009 commented on issue #85: Fix usrsocktest errors URL: https://github.com/apache/incubator-nuttx-apps/pull/85#issuecomment-589642866 @lukegluke >I'm too far from an expert in net stack, and don't know about any specification, >but maybe (just a thought) it would be more correct to nulling padding somewhere >inside the net stack? As far as I checked the Linux kernel source code, you are right. I think zero padding should be implemented in net/socket/recvfrom.c, if the from address family is AF_INET and fromlen is larger than sockaddr_in size. Anyway, I'll try to implement it and then should be reviewed by @patacongo.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services