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

To keep ubsan happy, Use offsetof() rather than legacy equivalent #73657

Merged
merged 4 commits into from
Aug 11, 2022

Commits on Aug 9, 2022

  1. Configuration menu
    Copy the full SHA
    145a11a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3547160 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    4bf4a39 View commit details
    Browse the repository at this point in the history
  2. inline macros PAL_safe_offset and FIELD_OFFSET and replace with offsetof

    Using offsetof() will prevent various static analyzers and dynamic ubsan
    from complaining about indirecting through NULL.
    RobertHenry6bev committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    6f54b46 View commit details
    Browse the repository at this point in the history