[asterisk-bugs] [Asterisk 0011317]: Fix for buil unistim in dev_mode (array subscript is above array bounds)
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Nov 21 10:21:57 CST 2007
The following issue has been ASSIGNED.
======================================================================
http://bugs.digium.com/view.php?id=11317
======================================================================
Reported By: IgorG
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 11317
Category: Channels/chan_unistim
Reproducibility: always
Severity: trivial
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 89442
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-19-2007 21:06 CST
Last Modified: 11-21-2007 10:21 CST
======================================================================
Summary: Fix for buil unistim in dev_mode (array subscript is
above array bounds)
Description:
String defined to have length TEXT_LENGTH_MAX+1, therefore last index is
TEXT_LENGTH_MAX, not TEXT_LENGTH_MAX+1. This looks like copy-paste error
======================================================================
----------------------------------------------------------------------
svnbot - 11-21-07 10:21
----------------------------------------------------------------------
Repository: asterisk
Revision: 89484
U trunk/channels/chan_unistim.c
------------------------------------------------------------------------
r89484 | russell | 2007-11-21 10:21:55 -0600 (Wed, 21 Nov 2007) | 9 lines
Fix some code that was supposed to ensure that a buffer was terminated,
but was
writing to the wrong byte. Also, remove some non-thread safe test code.
(closes issue http://bugs.digium.com/view.php?id=11317)
Reported by: IgorG
Patches:
unistim-2.patch uploaded by IgorG (license 20)
- additional changes by me
------------------------------------------------------------------------
Issue History
Date Modified Username Field Change
======================================================================
11-21-07 10:21 svnbot Checkin
11-21-07 10:21 svnbot Note Added: 0074140
11-21-07 10:21 svnbot Status new => assigned
11-21-07 10:21 svnbot Assigned To => russell
======================================================================
More information about the asterisk-bugs
mailing list