rv34: check for size mismatch