If the traction is set to auto drop,
the memory will be freed and with it the next pointer.

Pre-Submission Checklist

Type Of Change

Checklist:

Description

The use after free caused on a Load tested system crashes.
Now the next pointer is saved before executing the callback and handle the auto drop.
Then the stored next pointer is used to continue the iteration over the callbacks.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3931

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3931@github.com>