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

[BUG] [httpd] unsafe usage of slinkedl_append() #2717

Open
bogdan-iancu opened this issue Jan 3, 2022 · 0 comments
Open

[BUG] [httpd] unsafe usage of slinkedl_append() #2717

bogdan-iancu opened this issue Jan 3, 2022 · 0 comments
Assignees
Milestone

Comments

@bogdan-iancu
Copy link
Member

OpenSIPS version you are running

all

Describe the bug

The slinkedl_append() is used in several places without having the returned pointer tested for NULL. And this may happen if there is a memory allocation error in the function.

To Reproduce

Expected behavior

Relevant System Logs

OS/environment information

  • Operating System:
  • OpenSIPS installation:
  • other relevant information:

Additional context

@bogdan-iancu bogdan-iancu added this to the 3.2.5 milestone Jan 3, 2022
@bogdan-iancu bogdan-iancu self-assigned this Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant