Do not read beyond end of input in EA-TGV. This should avoid FATE test #362