-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
PVS-Studio: 71 issues (IDFGH-4626) #6440
Comments
How to get more attention to this issues? |
Hi @AndreyKarpov, Thanks for opening the issue to let us know about your analysis work and blog post. We're in the process of analyzing your results and dividing the tasks up between the various subsystems that are affected. This issue will be updated as soon as we start applying fixes. In a few cases it seems like the analyser may have returned some false positives. For example, in the case of the static function In other cases your analysis has clearly found bugs, so thank you again for bringing them to our attention. |
Partially addresses espressif/esp-idf#6440
Removed leftover code-paths that were never taken. Upstream freertos uses vTaskSuspendAll() and xTaskResumeAll(), and therefor check if the task already yielded. In the IDF port of freertos we use critcal sections instead, so xAlreadyYielded will never be set. Partially addresses #6440
Closes IDF-2787 Partially addresses #6440
Relevant: #6440 Closes IDF-2792
For some reason this issue was forgotten and all the problems should be reviewed properly. |
Reported in #6440 The issue could occur if esp_console_config_t::hint_color was set to -1.
wpa_supplicant fixes applied in 6da52cf (forgot to add a link back to this issue) |
The final fixes for driver, essl and hal have been merged and will be synced to Github soon. |
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Source code taken from release archives in https://github.com/argtable/argtable3/releases/tag/v3.2.1.52f24e5 Applied dos2unix to all files. Removed trailing whitespace with the pre-commit hook. Resolves some of the static analysis issues reported in #6440 (mallocs are replaced by xmalloc wrapper which panics on failed allocations)
Reported in #6440 The issue could occur if esp_console_config_t::hint_color was set to -1.
Reported in #6440 The issue could occur if esp_console_config_t::hint_color was set to -1.
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Closes IDF-2787 Partially addresses espressif/esp-idf#6440 * Original commit: espressif/esp-idf@2b9d2c0
Source code taken from release archives in https://github.com/argtable/argtable3/releases/tag/v3.2.1.52f24e5 Applied dos2unix to all files. Removed trailing whitespace with the pre-commit hook. Resolves some of the static analysis issues reported in #6440 (mallocs are replaced by xmalloc wrapper which panics on failed allocations)
One of our readers recommended paying heed to the Espressif IoT Development Framework. He found an error in the project code and asked if the PVS-Studio static analyzer could find it. The analyzer can't detect this specific error so far, but it managed to spot many others: https://www.viva64.com/en/b/0790/
The text was updated successfully, but these errors were encountered: