Skip to content

Commit

Permalink
Ignore buffer underflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 25, 2017
1 parent 205953c commit 035ee97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_mschap/mschap.c
Expand Up @@ -82,7 +82,7 @@ void mschap_challenge_hash(uint8_t const *peer_challenge,
fr_sha1_update(&Context, (uint8_t const *) user_name,
strlen(user_name));
fr_sha1_final(hash, &Context);
memcpy(challenge, hash, 8);
memcpy(challenge, hash, 8); //-V512
}

/*
Expand Down

0 comments on commit 035ee97

Please sign in to comment.