This solves bug 8342, whereby a crash occurs under certain circumstances while readin...