Skip to content

Commit

Permalink
SAS readers: Allow header sizes up to 16MB
Browse files Browse the repository at this point in the history
Closes #249
  • Loading branch information
evanmiller committed Jul 25, 2021
1 parent 9348374 commit f6766cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sas/readstat_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ readstat_error_t sas_read_header(readstat_io_t *io, sas_header_info_t *hinfo,
retval = READSTAT_ERROR_PARSE;
goto cleanup;
}
if (hinfo->header_size > (1<<20) || hinfo->page_size > (1<<24)) {
if (hinfo->header_size > (1<<24) || hinfo->page_size > (1<<24)) {
retval = READSTAT_ERROR_PARSE;
goto cleanup;
}
Expand Down

0 comments on commit f6766cd

Please sign in to comment.