[Asterisk-cvs] asterisk/apps app_meetme.c,1.111,1.112
kpfleming
kpfleming
Tue Oct 4 20:32:17 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv2359/apps
Modified Files:
app_meetme.c
Log Message:
don't twiddle memory that doesn't belong to us (issue #5348)
Index: app_meetme.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_meetme.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- app_meetme.c 25 Sep 2005 03:57:53 -0000 1.111
+++ app_meetme.c 5 Oct 2005 00:28:04 -0000 1.112
@@ -389,7 +389,7 @@
int count;
short *fdata = f->data;
- for (count = 0; count < f->datalen; count++) {
+ for (count = 0; count < (f->datalen / sizeof(*fdata)); count++) {
if (vol > 0) {
fdata[count] *= abs(vol);
} else if (vol < 0) {
More information about the svn-commits
mailing list