Commit 84f4583f authored by Raphael Defosseux's avatar Raphael Defosseux

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

parents 4804ecca 3a114a1a
......@@ -526,7 +526,7 @@ uint32_t pullarray8(uint8_t **in, uint8_t out[], uint32_t max_len, uint32_t len,
return 0;
}
if((end - out) >= sizeof(uint8_t) * len)
if((end - (*in)) >= sizeof(uint8_t) * len)
{
memcpy(out, (*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