Re: Invalid address causes Kannel to crash (was: (no subject))

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi,

this is really a bug ...
as workaround for now you can compile bearerbox/smsbox with --disable-panic 
(or similar)...

Am Montag, 14. April 2003 11:29 schrieb Kalle Marjola:
> On Mon, 14 Apr 2003 [email protected] wrote:
> > The server should not crash, just because a invalid address has been
> > passed to it.  I should be able to pass anything into this of any length
> > and the server should return a status saying, invalid address, but it
> > should NOT crash.
> >
> > Am I alone in thinking this?
>
> No you are not. There should be no PANIC (or similar thing) anywhere in
> smscconn -modules (or sms-services or whatever). I should have written
> this to smscconn.h long time ago but of course forgot to :]
>
> Maybe someone could add to guidelines something like:
> 'In any case, the smscconn module is not allowed to panic and it
>  must check all inputs for data validity before calling octstr
>  (or other) functions that might PANIC'

-- 
Best regards / Mit besten Grüßen aus Köln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 Köln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [email protected]
web: http://www.centrium.de
msn: [email protected]
smime.p7s (application/pkcs7-signature, 2.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.