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

agent: Fix is_signal_handled failing parsing str to u64 #4252

Merged
merged 1 commit into from
May 17, 2022

Commits on May 16, 2022

  1. agent: Fix is_signal_handled failing parsing str to u64

    In the is_signal_handled function, when parsing the hex string returned
    from `/proc/<pid>/status` the space/tab character after the colon
    is not removed.
    
    This patch trims the result of SigCgt so that
    all whitespace characters are removed. It also extends the existing
    test cases to check for this scenario.
    
    Fixes: kata-containers#4250
    Signed-off-by: Champ-Goblem <cameron@northflank.com>
    Champ-Goblem authored and fidencio committed May 16, 2022
    Configuration menu
    Copy the full SHA
    4b437d9 View commit details
    Browse the repository at this point in the history