Summary: | ASTERISK-04384: Using IAX2 encryption will result in segfault. | ||
Reporter: | Brian West (bkw918) | Labels: | |
Date Opened: | 2005-06-09 13:29:22 | Date Closed: | 2008-01-15 15:41:02.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If you currently use IAX2 encryption in chan_iax2 it will result in a segfault. workspace = alloca(*datalen + 32); Last I tried I increased the datalen + 33 and it didn't segfault but packet decrypt will fail. /b | ||
Comments: | By: Brian West (bkw918) 2005-06-09 13:30:24 adding encryption=aes128 to your IAX entry on both ends will be enough to recreate this issue. /b By: zoa (zoa) 2005-06-28 14:37:02 we can confirm this... (And kram kinda confirmed it on astricon :) By: Mark Spencer (markster) 2005-07-12 10:44:43 Fixed in CVS head (yah, really). By: Digium Subversion (svnbot) 2008-01-15 15:41:02.000-0600 Repository: asterisk Revision: 6103 U trunk/channels/chan_iax2.c U trunk/channels/iax2-parser.c ------------------------------------------------------------------------ r6103 | markster | 2008-01-15 15:41:01 -0600 (Tue, 15 Jan 2008) | 2 lines Fix IAX2 encryption (really, bug ASTERISK-4384 for reference) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6103 |