babl-polynomial.c:336:5: runtime error: index 11 out of bounds for type 'double [11]'
building babl with clang and -fsanitize=undefined:
$ ./autogen.sh CFLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=undefined" CC=clang
...
$ make
ends with few occurrences of the error in the title:
babl-polynomial.c:336:5: runtime error: index 11 out of bounds for type 'double [11]'
babl-polynomial.c:158:10: runtime error: index 11 out of bounds for type 'double const[11]'
babl-polynomial.c:166:3: runtime error: index 11 out of bounds for type 'double [11]'
babl-polynomial.c:331:7: runtime error: index 11 out of bounds for type 'double [11]'
babl-polynomial.c:332:7: runtime error: index 11 out of bounds for type 'double [11]'
I had to increase BABL_POLYNOMIAL_MAX_DEGREE to 14 to avoid this error