[PR #586] Check null pointer before fclose #24197

Open
opened 2026-01-31 09:01:55 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/586

State: closed
Merged: Yes


Check null pointer before fclose because fclose(NULL) will lead to undefined behavior (CWE-476: NULL Pointer Dereference)

**Original Pull Request:** https://github.com/microsoft/terminal/pull/586 **State:** closed **Merged:** Yes --- Check null pointer before fclose because fclose(NULL) will lead to undefined behavior (CWE-476: NULL Pointer Dereference)
claunia added the pull-request label 2026-01-31 09:01:55 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24197