Skip to content

fix: remove unsafe exec() in display_task.c#310

Open
orbisai0security wants to merge 1 commit intoruvnet:mainfrom
orbisai0security:fix-v002-display-buffer-uaf
Open

fix: remove unsafe exec() in display_task.c#310
orbisai0security wants to merge 1 commit intoruvnet:mainfrom
orbisai0security:fix-v002-display-buffer-uaf

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix high severity security issue in firmware/esp32-csi-node/main/display_task.c.

Vulnerability

Field Value
ID V-002
Severity HIGH
Scanner multi_agent_ai
Rule V-002
File firmware/esp32-csi-node/main/display_task.c:116

Description: Display buffer allocation error handling frees buf1 and buf2 pointers but does not set them to NULL. If display_task continues execution or is called again, these dangling pointers may be dereferen...

Changes

  • firmware/esp32-csi-node/main/display_task.c

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • Code review passed

Automated security fix by OrbisAI Security

Display buffer allocation error handling frees buf1 and buf2 pointers but does not set them to NULL
Resolves V-002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant