-
Notifications
You must be signed in to change notification settings - Fork 932
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]: possible use-after-free (revealed as invalid utf-8 in appname and appdata in CEL) #734
Comments
Hi @sshilovsky - is it possible to get the schema and a table dump for your setup? |
which tables / data do you want me to dump? PS reproduced on 20.7.0 |
Essentially what we're asking for is the required schema and dump to completely reproduce this issue ourselves, so that we don't have to assume things. |
This issue has been marked stale because it has been open 7 days with no feedback. Please provide feedback within 7 days or this issue will be closed. |
freshly reproduced with this dump: |
And how did you come to the conclusion of a "possible use-after-free"? |
In short, it's a guess, based on:
We could absolutely be wrong, hence "possible" |
Severity
Minor
Versions
20.5.1
Components/Modules
pjsip,cel_odbc
Operating Environment
Ubuntu 22.04.4 LTS
Frequency of Occurrence
Constant
Issue Description
In the following scenario asterisk attempts to write invalid utf-8 characters into CEL table.
Reproduce
consider this dialplan:
channel redirect PJSIP/411-xxxxxxxx out-000,801,1
- redirect the original caller 411 to 801channel redirect PJSIP/801-xxxxxxxx out-000,802,1
- connect 801 and 802 (disconnecting the original caller 411)If dialplan for 802 is specified in config file, everything is fine at this point and the call is finalized correctly.
If, and only if, the dialplan for 802@out-000 is specified in realtime (postgres in my case), asterisk fails to record a few event into
cel
table (see log output).Relevant log output
Asterisk Issue Guidelines
The text was updated successfully, but these errors were encountered: