Re: Invalid address causes Kannel to crash (was: (no subject))
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
Kalle Marjola wrote: > > 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' +1, agreed fully. Stipe [email protected] ------------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [email protected] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are