Hi, Please confirm if the patch has worked as this is a serious problem with Opensmppbox? If it has worked, then Rene please will you commit this as a patch as it will help everyone.
thanks Date: Tue, 5 Apr 2011 11:28:42 +0200 From: "Rene Kluwen" <[email protected]> To: "'XEN-Housing s.r.o.'" <[email protected]>, <[email protected]> Subject: RE: Opensmppbox segfault on login Message-ID: <01ed01cbf373$dab49f10$901ddd30$@[email protected]> Content-Type: text/plain; charset="us-ascii" Here's a patch. Please test. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of XEN-Housing s.r.o. Sent: Tuesday, 29 March, 2011 12:38 To: [email protected] Subject: Opensmppbox segfault on login Hello there, one of mine clients at login (bind) did not fill system_type and opensmppbox crashed. I told him to fill it and everything is ok, but enyone can send this way opensmppbox to lala land. LOG: 2011-03-29 11:07:18 [1088] [41] INFO: Connected to bearerbox at localhost port 13001. 2011-03-29 11:07:18 [1088] [41] DEBUG: Started thread 42 (opensmppbox.c:smpp_to_bearerbox) 2011-03-29 11:07:18 [1088] [42] DEBUG: Thread 42 (opensmppbox.c:smpp_to_bearerbox) maps to pid 1088. 2011-03-29 11:07:19 [1088] [42] DEBUG: SMPP[abcd]: Got PDU: 2011-03-29 11:07:19 [1088] [42] DEBUG: SMPP PDU 0x7e8e00 dump: 2011-03-29 11:07:19 [1088] [42] DEBUG: type_name: bind_transceiver 2011-03-29 11:07:19 [1088] [42] DEBUG: command_id: 9 = 0x00000009 2011-03-29 11:07:19 [1088] [42] DEBUG: command_status: 0 = 0x00000000 2011-03-29 11:07:19 [1088] [42] DEBUG: sequence_number: 1 = 0x00000001 2011-03-29 11:07:19 [1088] [42] DEBUG: system_id: "pokus" 2011-03-29 11:07:19 [1088] [42] DEBUG: password: "tester" 2011-03-29 11:07:19 [1088] [42] DEBUG: system_type: NULL 2011-03-29 11:07:19 [1088] [42] DEBUG: interface_version: 52 = 0x00000034 2011-03-29 11:07:19 [1088] [42] DEBUG: addr_ton: 0 = 0x00000000 2011-03-29 11:07:19 [1088] [42] DEBUG: addr_npi: 0 = 0x00000000 2011-03-29 11:07:19 [1088] [42] DEBUG: address_range: NULL 2011-03-29 11:07:19 [1088] [42] DEBUG: SMPP PDU dump ends. 2011-03-29 11:07:19 [1088] [42] PANIC: gwlib/octstr.c:2488: seems_valid_real: Assertion `ostr != NULL' failed. (Called from gwlib/octstr.c:875:octstr_compare.) 2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox(gw_panic+0x15b) [0x44133b] 2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox [0x441bb9] 2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox(octstr_compare+0x20) [0x446780] 2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox(check_login+0x29b) [0x40dcab] 2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox [0x40e0c8] 2011-03-29 11:07:19 [1088] [42] PANIC: /usr/local/sbin/opensmppbox [0x4380a5] 2011-03-29 11:07:19 [1088] [42] PANIC: /lib64/libpthread.so.0 [0x2aaaac086367] 2011-03-29 11:07:19 [1088] [42] PANIC: /lib64/libc.so.6(clone+0x6d) [0x2aaaac909f7d] Slavoj. -------------- next part -------------- A non-text attachment was scrubbed... Name: empty_systemtype_patch.patch Type: application/octet-stream Size: 3584 bytes Desc: not available URL: <http://www.kannel.org/pipermail/users/attachments/20110405/ca2b9cc9/attachm ent.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6333 bytes Desc: not available URL: <http://www.kannel.org/pipermail/users/attachments/20110405/ca2b9cc9/attachm ent.bin> ------------------------------ *************************************
