[Asterisk-Dev] PATCH: rtp.c, passing g723.1, infinite loop

Jared Smith jsmith at drgutah.com
Thu Oct 30 08:53:39 MST 2003


On Wed, 2003-10-29 at 18:27, Bill Leckey wrote:
> I've found, when passing g723.1 that occasionally the rtp thread will 
> loop forever.
> 
> It turns out that the problem is in rtp.c.  If g723_len returns 0, then 
> g723_samples will never update pos, its offset variable, and will 
> forever check the same position in the buffer.
> 
> Attached is the patch.
[snip]

Please file this at http://bugs.digium.com, so that it doesn't get
lost...

Jared Smith




More information about the asterisk-dev mailing list