Re: smsbox panic when receiving garbadge in to field!

Stefan Cars <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
It looks like I found a new bug aswell!

I updated to latest CVS and compiled. Now I can't even test the "garbadge"
problem since the smsbox crashes directly when trying to send a
SMS-message (correctly formatted HTTP GET string etc..).

Any recent changes since 2002-04-10 which is the one that I was using when
the smsbox was working fine (except the garbadge problem).


2002-04-24 09:46:58 [2] DEBUG: HTTP: Creating HTTPClient for
`213.136.48.100'.
2002-04-24 09:46:58 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
from <213.136.48.100>
2002-04-24 09:46:58 [3] PANIC: gwlib/octstr.c:2068: seems_valid_real:
Assertion `ostr != NULL' failed. (Called from
gwlib/octstr.c:744:octstr_compare.)

2002-04-24 09:46:58 [11] INFO: Connection closed by the box <127.0.0.1>



On Wed, 24 Apr 2002, Stefan Cars wrote:

> Yes I do!
>
>
> On Wed, 24 Apr 2002, Aarno Syvänen wrote:
>
> > Hi,
> >
> > you, of course, use native malloc ?
> >
> > Stefan Cars wrote:
> >
> > > When a stupid customer of ours is trying to send via the sendsms interface
> > > and formatting the to field wrong after a short while the smsbox panics
> > > becuase of "too many concurrent allocations". I've been trying to locate
> > > the problem without success.
> > >
> > > anyone ?
> > >
> > > 2002-04-23 16:14:14 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
> > > from <
> > > X>
> > > 2002-04-23 16:14:14 [3] INFO: sendsms used by <awardit>
> > > 2002-04-23 16:14:14 [3] INFO: Illegal characters in 'to' string
> > > ('46708109311,46
> > > 733278') vs '0123456789 +-'
> > > 2002-04-23 16:14:14 [3] DEBUG: Status: 400 Answer: <Garbage 'to' field,
> > > rejected
> > > .>
> > > 2002-04-23 16:14:14 [3] DEBUG: HTTP: Destroying HTTPClient area 0x8231490.
> > > 2002-04-23 16:14:14 [3] DEBUG: HTTP: Destroying HTTPClient for
> > > `X'.
> > > 2002-04-23 16:14:15 [2] DEBUG: HTTP: Creating HTTPClient for
> > > `X'.
> > > 2002-04-23 16:14:15 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms>
> > > from <
> > > X>
> > > 2002-04-23 16:14:15 [3] INFO: sendsms used by <awardit>
> > > 2002-04-23 16:14:15 [3] INFO: Illegal characters in 'to' string
> > > ('46708109311;46
> > > 733278') vs '0123456789 +-'
> > > 2002-04-23 16:14:15 [3] PANIC: Too many concurrent allocations
> >
>
>
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.