diff options
author | Kota Tsuyuzaki <bloodeagle40234@gmail.com> | 2016-02-11 20:33:12 -0800 |
---|---|---|
committer | Kota Tsuyuzaki <bloodeagle40234@gmail.com> | 2016-02-11 20:33:12 -0800 |
commit | 6507f6b3f491dcd14cc97295b36bdff47e8b4d9f (patch) | |
tree | b7b44191aa8847f1096521c4b6f404ea819d371d /include/erasurecode | |
parent | 25fd05f0e9b589021ca3ac8c8bb425fe74386e20 (diff) | |
download | liberasurecode-6507f6b3f491dcd14cc97295b36bdff47e8b4d9f.tar.gz |
Fix segmentation fault if frag header corruptedcorrupted-header
If the fragment header corrupted (I didn't dig it though),
it will cause segmentation error which can not be handled
in decoding process.
To prevent such an unfortunate situation, this patch makes
liberasurecode to skip the decoding and to return an error
status.
Diffstat (limited to 'include/erasurecode')
0 files changed, 0 insertions, 0 deletions