Loading src/or/shared_random.c +2 −6 Original line number Diff line number Diff line Loading @@ -230,9 +230,7 @@ commit_decode(const char *encoded, sr_commit_t *commit) { int decoded_len = 0; size_t offset = 0; /* XXX: Needs two extra bytes for the base64 decode calculation matches * the binary length once decoded. #17868. */ char b64_decoded[SR_COMMIT_LEN + 2]; char b64_decoded[SR_COMMIT_LEN]; tor_assert(encoded); tor_assert(commit); Loading Loading @@ -284,9 +282,7 @@ STATIC int reveal_decode(const char *encoded, sr_commit_t *commit) { int decoded_len = 0; /* XXX: Needs two extra bytes for the base64 decode calculation matches * the binary length once decoded. #17868. */ char b64_decoded[SR_REVEAL_LEN + 2]; char b64_decoded[SR_REVEAL_LEN]; tor_assert(encoded); tor_assert(commit); Loading Loading
src/or/shared_random.c +2 −6 Original line number Diff line number Diff line Loading @@ -230,9 +230,7 @@ commit_decode(const char *encoded, sr_commit_t *commit) { int decoded_len = 0; size_t offset = 0; /* XXX: Needs two extra bytes for the base64 decode calculation matches * the binary length once decoded. #17868. */ char b64_decoded[SR_COMMIT_LEN + 2]; char b64_decoded[SR_COMMIT_LEN]; tor_assert(encoded); tor_assert(commit); Loading Loading @@ -284,9 +282,7 @@ STATIC int reveal_decode(const char *encoded, sr_commit_t *commit) { int decoded_len = 0; /* XXX: Needs two extra bytes for the base64 decode calculation matches * the binary length once decoded. #17868. */ char b64_decoded[SR_REVEAL_LEN + 2]; char b64_decoded[SR_REVEAL_LEN]; tor_assert(encoded); tor_assert(commit); Loading