Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jul 8, 2017
1 parent bfbfc3d commit 778c6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/radius/decode.c
Expand Up @@ -41,7 +41,7 @@ static void memcpy_bounded(void * restrict dst, const void * restrict src, size_
return;
}

if (!fr_cond_assert(((uint8_t const * restrict) src + len) < (uint8_t const * restrict) end)) {
if (!fr_cond_assert(((uint8_t const * restrict) src + len) <= (uint8_t const * restrict) end)) {
len = (uint8_t const * restrict) end - (uint8_t const * restrict) src;
}

Expand Down

0 comments on commit 778c6ff

Please sign in to comment.