liberasurecode/test
Kota Tsuyuzaki 74eaa374c1 Fix error handling on gf_ivnert_matrix in isa-l backend
Current isa-l has possibility to return corrupted decoded data or
corrupted reconstructed data on decode/reconstruct without error code.

That is from the specification of isa-l rs vandermond matrix discussed
at [1]. With many # of parities cases, we may hit the case above due to
failing to get the inverse matrix from the encode matrix.

The isa-l maintener gbtucker suggests a good way to detect the failing
inverse matrix, that we should handle the return value gf_invert_matrix.
If gf_invert_matrix returns not 0, we should stop to decode/reconstruct
and return failure return code to the caller immediately. Otherwise, the
caller regards the garbage data/fragment as correct one.

And this patch adds the specific test case we can hit the issue (it
happens not so general).

1: https://github.com/01org/isa-l/issues/10

Related-Change: I6eb150d9d0c3febf233570fa7729f9f72df2e9be
Change-Id: Icee788a0931fe692fe0de31fabc4ba450e338a87
2016-11-09 23:28:55 +00:00
..
builtin Fix prototype declaration / definition mismatch (issue #25) 2016-03-04 20:36:12 +01:00
utils/chksum Compile in pedantic mode and fail compilation on warnings. Also cleanup all existing warnings. 2014-09-10 17:13:45 -07:00
Makefile.am Make libtool archive references relative to builddir 2015-12-10 06:14:20 -07:00
libec_slap.c Split helpers.h include for backward compatibility 2015-09-22 21:47:15 +00:00
libec_slap.h Added libec_slap test 2014-08-26 16:29:08 -07:00
liberasurecode_test.c Fix error handling on gf_ivnert_matrix in isa-l backend 2016-11-09 23:28:55 +00:00