This is *definitely* a bug! PPG is crashing when error :(
Can you share your MIME document ?
Aarno
On 23.11.2004, at 13:04, Arne K. Haaje wrote:
tirsdag 23. november 2004, 10:16, skrev Aarno Syvänen:
Yep, this really seems to be a bug. Will check it, thanks for
reporting.
I modified wap_push_ppg.c (see attachment) to accept the header, but
now I get
the following;
2004-11-23 12:54:46 [9436] [14] DEBUG: PPG: ip_allowed_by_ppg: ip
found from
allowed list
2004-11-23 12:54:46 [9436] [14] DEBUG: we have an username and a
password in
authorization header
2004-11-23 12:54:46 [9436] [14] INFO: PPG: Accept request </wappush>
from
<127.0.0.1>
2004-11-23 12:54:46 [9436] [14] WARNING: PPG: get_mime_boundary: no
boundary
specified
2004-11-23 12:54:46 [9436] [14] WARNING: PPG: No MIME boundary, the
request
unacceptable
2004-11-23 12:54:46 [9436] [14] DEBUG: PPG: send_bad_message_response:
telling
pi
2004-11-23 12:54:46 [9436] [14] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2004-11-23 12:54:46 [9436] [14] PANIC: gwlib/octstr.c:2340:
seems_valid_real:
Assertion `ostr->len + 1 <= ostr->size' failed. (Called from
gwlib/octstr.c:317:octstr_destroy.)
2004-11-23 12:54:46 [9436] [14] PANIC: wapbox(gw_panic+0x1a9)
[0x80e7b91]
2004-11-23 12:54:46 [9436] [14] PANIC: wapbox [0x80ef645]
2004-11-23 12:54:46 [9436] [14] PANIC: wapbox(octstr_destroy+0x24)
[0x80ea20c]
2004-11-23 12:54:46 [9436] [14] PANIC: wapbox [0x8077077]
2004-11-23 12:54:46 [9436] [14] PANIC: wapbox [0x80dc8f8]
2004-11-23 12:54:46 [9436] [14] PANIC: /lib/libpthread.so.0
[0x4007810c]
2004-11-23 12:54:46 [9436] [14] PANIC: /lib/libc.so.6(__clone+0x3a)
[0x4027160a]
2004-11-23 12:54:46 [9432] [10] DEBUG: HTTP: Destroying HTTPClient area
0x825b808.
2004-11-23 12:54:46 [9432] [10] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
--
--------------------------------
Arne K. Haaje | www.drlinux.no
Bregneveien 9 | www.drx.no
1825 Tomter | M: 92 88 44 66
--------------------------------
<wap_push_ppg.c.diff>