Skip to content

Commit e8c1a0f

Browse files
committed
Undo safety change
1 parent 917c4da commit e8c1a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/sas/sas.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cdef const uint8_t[:] rle_decompress(int result_length, const uint8_t[:] inbuff)
2727
end_of_first_byte = <int>(inbuff[ipos] & 0x0F)
2828
ipos += 1
2929

30-
if control_byte == 0x00 and ipos < length:
30+
if control_byte == 0x00:
3131
nbytes = <int>(inbuff[ipos] & 0xFF) + 64 + end_of_first_byte * 256
3232
ipos += 1
3333
for _ in range(nbytes):

0 commit comments

Comments
 (0)