Skip to content

Commit

Permalink
SAS reader: another RLE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Apr 10, 2015
1 parent f6bdca4 commit 8c0463a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readstat_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ static readstat_error_t sas_parse_subheader_rle(const char *subheader, size_t le
insert_byte = ' ';
break;
case SAS_RLE_COMMAND_INSERT_ZERO17:
insert_len = (*input++) + 17;
insert_len = (*input++) + 17 + length * 256;
insert_byte = '\0';
break;
case SAS_RLE_COMMAND_COPY1: copy_len = length + 1; break;
Expand Down

0 comments on commit 8c0463a

Please sign in to comment.