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

CodeQL fixes #62

Merged
merged 2 commits into from
May 28, 2024
Merged

CodeQL fixes #62

merged 2 commits into from
May 28, 2024

Commits on May 14, 2024

  1. firehose: Fix xml_setpropf format for payload_size

    CodeQL reports:
    
    This argument should be of type 'int' but is of type 'unsigned long'.
    
    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 14, 2024
    Configuration menu
    Copy the full SHA
    6622f25 View commit details
    Browse the repository at this point in the history
  2. firehose: Prevent potential overflow in info print

    also fixes the improper format specifier i suppose
    
    CodeQL reports:
    
    Multiplication result may overflow 'unsigned int' before it is converted to 'long'.
    
    Signed-off-by: Konrad Dybcio <[email protected]>
    konradybcio committed May 14, 2024
    Configuration menu
    Copy the full SHA
    766123c View commit details
    Browse the repository at this point in the history