You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/28 14:45:14 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5844: rpmsgfs: do NOT access the pointer when do remote ioctl
xiaoxiang781216 commented on a change in pull request #5844:
URL: https://github.com/apache/incubator-nuttx/pull/5844#discussion_r836513791
##########
File path: fs/rpmsgfs/rpmsgfs.h
##########
@@ -110,7 +110,9 @@ begin_packed_struct struct rpmsgfs_ioctl_s
struct rpmsgfs_header_s header;
int32_t fd;
int32_t request;
- int32_t arg;
+ uint64_t arg;
+ uint32_t arglen;
+ char buf[0];
Review comment:
Sure.
--
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@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org