| Summary: | ASTERISK-05438: [patch] Off by 1 issue in 'iax2 debug' | ||
| Reporter: | Tilghman Lesher (tilghman) | Labels: | |
| Date Opened: | 2005-11-03 09:56:11.000-0600 | Date Closed: | 2011-06-07 14:10:31 |
| Priority: | Minor | Regression? | No |
| Status: | Closed/Complete | Components: | Core/General |
| Versions: | Frequency of Occurrence | ||
| Related Issues: | |||
| Environment: | Attachments: | ( 0) 20051103__offbyone.diff.txt | |
| Description: | String IEs in IAX2 get truncated by a single character in debug mode. This was a side effect of the ast_copy_string conversion. | ||
| Comments: | By: Russell Bryant (russell) 2005-11-03 11:40:14.000-0600 ummm ... my fresh checkout from cvs head still has strncpy there. *very confused* By: Russell Bryant (russell) 2005-11-03 11:42:09.000-0600 Yeah. That call to ast_copy_string has already been reverted ... | ||