[dahdi-commits] tzafrir: linux/trunk r6236 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Mar 24 10:59:37 CDT 2009
Author: tzafrir
Date: Tue Mar 24 10:59:32 2009
New Revision: 6236
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6236
Log:
Make sure the requested echo canceller name is NULL-terminated.
Make sure that the that the name of the echo canceller requested in the
DAHDI ioctl DAHDI_ATTACH_ECHOCAN is NULL-terminated.
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=6236&r1=6235&r2=6236
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Tue Mar 24 10:59:32 2009
@@ -3858,6 +3858,7 @@
VALID_CHANNEL(ae.chan);
+ ae.echocan[sizeof(ae.echocan) - 1] = 0;
if (ae.echocan[0]) {
if (!(new = find_echocan(ae.echocan))) {
return -EINVAL;
More information about the dahdi-commits
mailing list