Commit 5a8fe59c authored by Raphael Defosseux's avatar Raphael Defosseux

Merge remote-tracking branch 'origin/nfapi-bugfix' into develop_integration_2020_w26

parents 0af8f618 7c116c79
...@@ -526,7 +526,7 @@ uint32_t pullarray8(uint8_t **in, uint8_t out[], uint32_t max_len, uint32_t len, ...@@ -526,7 +526,7 @@ uint32_t pullarray8(uint8_t **in, uint8_t out[], uint32_t max_len, uint32_t len,
return 0; return 0;
} }
if((end - out) >= sizeof(uint8_t) * len) if((end - (*in)) >= sizeof(uint8_t) * len)
{ {
memcpy(out, (*in), len); memcpy(out, (*in), len);
(*in)+=len; (*in)+=len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment