Refactor CMakeLists.txt #47
25 new problems found by Qodana for C/C++
Qodana for C/C++
25 new problems were found
Inspection name | Severity | Problems |
---|---|---|
DeprecatedOrUnsafeBufferHandling |
🔶 Warning | 25 |
💡 Qodana analysis was run in the pull request mode: only the changed files were checked
View the detailed Qodana report
To be able to view the detailed Qodana report, you can either:
- Register at Qodana Cloud and configure the action
- Use GitHub Code Scanning with Qodana
- Host Qodana report at GitHub Pages
- Inspect and use
qodana.sarif.json
(see the Qodana SARIF format for details)
To get *.log
files or any other Qodana artifacts, run the action with upload-result
option set to true
,
so that the action will upload the files as the job artifacts:
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: true
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check warning on line 198 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11
Check warning on line 230 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11
Check warning on line 234 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 356 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11
Check warning on line 361 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11
Check warning on line 379 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11
Check warning on line 453 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memset' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memset_s' in case of C11
Check warning on line 474 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11
Check warning on line 510 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memmove' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memmove_s' in case of C11
Check warning on line 513 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 571 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 599 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 600 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 630 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 669 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 771 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 793 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'memcpy' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'memcpy_s' in case of C11
Check warning on line 1702 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 1720 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 1737 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 1754 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 1793 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 1810 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 1827 in lite_string.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'snprintf' is insecure as it does not provide security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'snprintf_s' in case of C11
Check warning on line 13 in examples/word_stats.c
github-actions / Qodana for C/C++
DeprecatedOrUnsafeBufferHandling
Call to function 'fprintf' is insecure as it does not provide bounding of the memory buffer or security checks introduced in the C11 standard. Replace with analogous functions that support length arguments or provides boundary checks such as 'fprintf_s' in case of C11