Skip to content

Update Windows driver code based on CodeQL analysis findings#8

Open
5656hcx wants to merge 3 commits intomainfrom
chehan-dev
Open

Update Windows driver code based on CodeQL analysis findings#8
5656hcx wants to merge 3 commits intomainfrom
chehan-dev

Conversation

@5656hcx
Copy link
Contributor

@5656hcx 5656hcx commented Mar 11, 2026

This pull request resolves the follwing CodeQL Static Analysis error:

  1. cpp/drivers/extended-deprecated-apis
  2. cpp/drivers/wdk-deprecated-api
  3. cpp/drivers/role-type-correctly-used

This pull request included the follwing changes:

  1. Replaced deprecated APIs ExAllocatePool, sprint, strcpy with secured versions
  2. Updated function declaration for some callbacks to use WDK role types
  3. Removed unreferenced function declaration

5656hcx added 3 commits March 10, 2026 14:44
Signed-off-by: chehan <chehan@qti.qualcomm.com>
…river

Signed-off-by: chehan <chehan@qti.qualcomm.com>
Signed-off-by: chehan <chehan@qti.qualcomm.com>
@5656hcx 5656hcx requested review from rohimish-qc and shasaror March 11, 2026 08:21
@5656hcx 5656hcx self-assigned this Mar 11, 2026
@5656hcx 5656hcx added the Optimization Code refectoring or performance boost label Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Optimization Code refectoring or performance boost

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant