Summary: | ASTERISK-24231: crash: CLI execution of realtime destroy sippeers id 1 causes crash due to NULL name provided to ast_variable | ||||
Reporter: | Niklas Larsson (pnlarsson) | Labels: | |||
Date Opened: | 2014-08-14 02:25:11 | Date Closed: | 2014-09-12 11:04:03 | ||
Priority: | Critical | Regression? | Yes | ||
Status: | Closed/Complete | Components: | Core/Configuration | ||
Versions: | 12.5.0 13.0.0-beta1 | Frequency of Occurrence | Constant | ||
Related Issues: |
| ||||
Environment: | Debian 7 | Attachments: | ( 0) backtrace.txt ( 1) realtime_destroy_crash.diff | ||
Description: | Asterisk segfaults with: {{realtime destroy sippeers id 1}} but not with {{realtime destroy sippeers id 1 name 123}}, It doesn't matter what column names are used - only the number of columns.
| ||||
Comments: | By: Niklas Larsson (pnlarsson) 2014-08-14 02:28:38.899-0500 Backtrace By: Jonathan Rose (jrose) 2014-09-09 11:39:25.467-0500 I wrote a patch that should fix this. It hasn't been through review yet. I've personally tested it with both the pgsql and odbc realtime engines, but feel free to give it a try. By: Jonathan Rose (jrose) 2014-09-09 12:00:02.765-0500 https://reviewboard.asterisk.org/r/3985/ and here is a review link if you would like to watch progress on the patch. |