Bug#411293: asterisk-chan-capi: Need a mutex for calls to capi_{cmsg, message}2str

Lionel Elie Mamane lionel at mamane.lu
Thu May 31 13:40:15 UTC 2007


On Sun, Mar 04, 2007 at 02:07:53PM +0000, Ben Hutchings wrote:
> On Sat, 2007-03-03 at 22:45 +0100, Moritz Muehlenhoff wrote:

>> According to the Linux ISDN maintainer CAPI messages triggering such an
>> overflow cannot be sent over the ISDN network due to technical limits.

> He actually wrote "It can be overflowed by a single evil message from a
> local source, but not via the ISDN network."  This means a single
> message from the ISDN network cannot cause overflow.

>> I don't know asterisk-chan-capi, can CAPI messages originate
>> otherwise?

Yes, they can originate from a local source. The way I understand the
Linux ISDN maintainer, he is saying that your telco operator will
protect you from that if the message comes to you over their
network. But if asterisk-chan-capi is used in a PBX setup, where
phones are connected to it (and asterisk is not only connected to
phone lines, it _provides_ phone lines), then these phones are "local
source" and can cause the overflow. Possibly (but there I'm unsure),
if Asterisk (acting as a phone) and another phone are connected to the
same line, that would count as a local source, too.

>> If not, it probably doesn't need a fix for Etch.

So this indeed needed a fix for etch, and got one.

Closing that item in my personal TODO now.

-- 
Lionel




More information about the Pkg-voip-maintainers mailing list