Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a bound check for sas7bcat_parse_value_labels when finding the offset of labels. #303

Commits on Jul 26, 2023

  1. Add a bound check for sas7bcat_parse_value_labels.

    `lbp1` will try to chase and read as many value labels as `label_count_capacity`, which may result in accessing memory locations pass the allocated region, especially for malformed data. This also results in Address sanitizer error on some inputs. Add a bounds check to avoid it.
    kiwiwarmnfuzzy committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    0f9d8bc View commit details
    Browse the repository at this point in the history