catid / cm256

Fast GF(256) Cauchy MDS Block Erasure Codec in C
BSD 3-Clause "New" or "Revised" License
110 stars 49 forks source link

Update bytes variable after loop in add2_mem #3

Closed lmiskiew closed 6 years ago

lmiskiew commented 6 years ago

If GF256_TARGET_MOBILE was set and GF256_TRY_NEON wasn't bytes variable in gf256_add2_mem wasn't updated which resulted in trying to access bytes outside of the buffers if bytes & 8 == 1.

catid commented 6 years ago

Beautiful thank you

catid commented 6 years ago

I’ll check to make sure all the other repos are fixed