title: (wasm) pass an array between JS and C
body: <p>what should I be careful about regarding the security of the data transferring when I use linear memory in JS and pointers in C to pass an array between JS and C.</p>
  
  <p>the same question when I pass an array between JS and C using pointers in C  and malloc , cwrap, getValue, setValue in JS.</p>
  
  <p>Thanks in advance.</p>