-
Notifications
You must be signed in to change notification settings - Fork 278
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
Fix problems detected by CodeQL static analysis #1304
Fix problems detected by CodeQL static analysis #1304
Conversation
CI Vulkan-Loader build queued with queue ID 51658. |
CI Vulkan-Loader build # 2187 running. |
1 similar comment
CI Vulkan-Loader build # 2187 running. |
8458476
to
ebf6962
Compare
CI Vulkan-Loader build queued with queue ID 51671. |
1 similar comment
CI Vulkan-Loader build queued with queue ID 51671. |
CI Vulkan-Loader build # 2189 running. |
CI Vulkan-Loader build # 2189 passed. |
ebf6962
to
15158f1
Compare
CI Vulkan-Loader build queued with queue ID 51741. |
CI Vulkan-Loader build # 2190 running. |
CI Vulkan-Loader build # 2190 passed. |
15158f1
to
bf9147a
Compare
CI Vulkan-Loader build queued with queue ID 54212. |
3 types of issues were found: * Incorrect format specifiers * Not providing required format specifies * Using alloca in a loop There are multiple instances of alloca in loops, but to fix them would require significant refactoring. This commit includes 1 move of alloca inside a for loop to the outside, but this is because the logic was redoing work in a for loop that could have been done once at the start of the function.
bf9147a
to
adf0a47
Compare
CI Vulkan-Loader build queued with queue ID 54223. |
CI Vulkan-Loader build # 2197 running. |
CI Vulkan-Loader build # 2197 passed. |
Merging because CI passed in my fork. |
3 types of issues were found:
There are multiple instances of alloca in loops, but to fix them would require significant refactoring. This commit includes 1 move of alloca inside a for loop to the outside, but this is because the logic was redoing work in a for loop that could have been done once at the start of the function.