diff --git a/src/sas/readstat_sas.c b/src/sas/readstat_sas.c index 9c2b78a..2b3e7cf 100644 --- a/src/sas/readstat_sas.c +++ b/src/sas/readstat_sas.c @@ -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; }