Fix potential bad read of length
2 files changed