[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] [PATCH]: undefined payload_type_x_snow and seg
From: |
strk |
Subject: |
Re: [Linphone-developers] [PATCH]: undefined payload_type_x_snow and segfault |
Date: |
Wed, 8 Aug 2007 21:58:32 +0200 |
On Wed, Aug 08, 2007 at 09:47:03PM +0200, Vadim Lebedev wrote:
> strk wrote:
> >Attached is a patch for review fixing the bug for me.
> >
> You forgot the patch itself
Yeah, I noticed, but then I figured my patch wasn't correct after all.
The segfault is still there, too many places assume the mime_type member of the
PayLoad
is not NULL so I tought rather then checking it for being NULL we should always
provide
a value for it.
Also, I'm not sure who should instantiate that payload_type_x_snow, and most
likely
it should not be allocated on the stack or it would be hard to properly
construct it
(for instance, adding a mime_type before any use).
Btw, am I the only one having this problem ?
--strk;