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

[dhcp6relay] a couple memory access protections #9851

Merged
merged 3 commits into from
Jan 26, 2022

Commits on Jan 26, 2022

  1. [dhcp6relay] validate message type before counter operations

    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    554939a View commit details
    Browse the repository at this point in the history
  2. [dhcp6relay] address memory corruption issue

    Use config->interface->c_str() directly without strcpy. The original strcpy code has
    memory corruption due to adding null terminator.
    
    Signed-off-by: Ying Xie <ying.xie@microsoft.com>
    yxieca committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    f7c62f1 View commit details
    Browse the repository at this point in the history
  3. unify variable name

    yxieca committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    c719955 View commit details
    Browse the repository at this point in the history