Hi, I'm developing an app on keystone now, and find there may exist some problem. Here I guess it's checking whether the shared buffer is big enough for the data(pointed by ptr, of size bytes) returned by the host, so it may be the size instead of sizeof(struct edge_data) passed to edge_call_get_offset_from_ptr for boundary check.
Hi, I'm developing an app on keystone now, and find there may exist some problem. Here I guess it's checking whether the shared buffer is big enough for the data(pointed by
ptr
, ofsize
bytes) returned by the host, so it may be thesize
instead ofsizeof(struct edge_data)
passed toedge_call_get_offset_from_ptr
for boundary check.