Skip to content
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

(RFC) Avoid possible null pointer dereference in setlisten() #1483

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

michaelortmann
Copy link
Member

@michaelortmann michaelortmann commented Oct 8, 2023

Found by: michaelortmann
Patch by: michaelortmann
Fixes:

One-line summary:
Avoid possible null pointer dereference

Additional description (if needed):
setlisten() needs more attention.
Please have a look.
Some code in setlisten() looks incomplete or even dangerous.
Error-Handling, when to log, when to TCL_ERROR, is unclear to me regarding this function.
This PR could be related to #1365 and #1479.

Test cases demonstrating functionality (if applicable):

@michaelortmann michaelortmann changed the title (RFC) Avoid possible null pointer dereference (RFC) Avoid possible null pointer dereference in setlisten() Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant