Angel Fradejas wrote: > > Hi, > > I found a bug in smsbox, related to empty text SMS handling (or a sms > contaning only spaces). The problem arises when you send a space only text > for example, and in the default sms-service get-url you use the %k token, > for example > > group = sms-service > keyword = default > get-url = http://localhost/default.php?keyword=%k > > smsbox exits with a failed assertion > > 2002-01-10 16:56:13 [4] PANIC: gwlib/list.c:213: list_get: Assertion `pos > < list->len' failed. > > I fixed the bug with some additional checking in the urltrans_get_pattern > function. > > Could someone commit this patch to the cvs?
The patch has been just applied to cvs. Thanks a lot for the submission. Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 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