../../client/options.c:4527:20: runtime error: applying zero offset to null pointer
../../common/research.c:775:12: runtime error: index 201 out of bounds for type 'const struct research_invention[200]'
../../client/mapview_common.c:214:13: runtime error: -nan is outside the range of representable values of type 'int'
../../client/mapview_common.c:215:13: runtime error: -nan is outside the range of representable values of type 'int'
Bit of an emergency fix attached. It avoids the "out of bounds" error, but I'm not sure what other consequences there is to the fact that A_FUTURE gets treated this way as part of the research structure.
../../client/mapview_common.c:214:13: runtime error: -nan is outside the range of representable values of type 'int'
../../client/mapview_common.c:215:13: runtime error: -nan is outside the range of representable values of type 'int'
3.0.6+ compiled with clang -fsanitize=undefined
client gtk-3.22