- --hardy no longer generates garbage results for case/control phenotypes on chrY.
- --neighbour no longer generates incorrect results when a sample does not have n2 neighbors.
- --distance now errors out instead of generating an all-nan matrix when all variants are monomorphic.
- "--annotate attrib= block" no longer segfaults.
- --annotate output should no longer be corrupted when no ranges and no attributes are loaded at all.
- --clump-range / --annotate ranges= / --gene-report should now work properly instead of possibly crashing when the range file names a contig outside the current dataset.
Also fixed the following potential segfaults:
- .fam has too few tokens on last line, and --pheno was specified.
- --genome with a small workspace, and some maternal IDs missing
- --dfam when all families are filtered out
- --linear/--logistic when all samples are filtered out
Also cleaned up unaligned memory accesses.