From: surfzoid s. <sur...@ho...> - 2006-09-14 14:24:52
|
Thank's Alan for this sun on my dark and long time problem. So at this step wath can i do now, i alaws post to obexftp forum and suscribe to mailling list but there not so quick as you Thank's again and hope the solution can be find at finaly. >From: "Alan J. McFarlane" <ala...@ya...> >To: ird...@li... >Subject: Re: [irda-users] *** buffer overflow detected >***:irdadumpterminated >Date: Thu, 14 Sep 2006 10:59:07 +0100 > >In article news:BAY...@ph...l, surfzoid >surfzoid wrote: > > Hi samuel, i'm sorry by advance, because i send the irdadump -p -b to > > alan,i just click on answer evrybody in hotmail web client without > > chek > > all mail adress and so only alan receive it,Alan can you transfert the > > mail to Samuel because i'm at office and dont have linux at work > > (unluky). >[...] >The -p -b log is included at the bottom. > >But here's what's happening in summary: >1. irdadump crashes when parsing the phone's response to the OBEX >Connect packet, even though that packet looks ok to me. > >2. Neither obexftp nor the protocol stack crash, but instead the phone >reports "Not Implemented" to obexftp's first command so obexftp quits, >closing the connection cleanly. > >The command that fails is "SetPath, Name=<empty>", which means "reset to >the default folder" (OBEX13.pdf section 3.3.6.3). This seems a >pointless command to carry out at that time; at connect surely we're >always at the default folder. But the phone should accept it anyway. > >Does the '/' on the obexftp's command-line cause this command to be >carried out? Does it send no SetPath command without it? I can't find >the command-line documentation. > > >* In greater detail >The 'normal' irdadump log as shown earlier in the thread, and the strace >log, shows that it crashes after the frame with "OBEX CONNECT". The >raw-bytes-only log shows that obexftp communications continue past the >irdadump crash. It includes the following; with my annotations: > >-> OBEX Connect (0x80), Target_service=Folder-Browsing. >21:43:28.718574 (31) > 1d 78 05 2d 00 80 00 1a 10 00 04 00 46 00 13 f9 > ec 7b c4 95 3c 11 d2 98 4e 52 54 00 dc 9e 09 > ><- OBEX Connect success (0xA0) response, etc. >21:43:28.739548 (36) > 1c b6 2d 05 01 a0 00 1f 10 00 03 f7 4a 00 13 f9 > ec 7b c4 95 3c 11 d2 98 4e 52 54 00 dc 9e 09 cb >[Note frame truncated on display by irdadump. Could use extra parameter >to get the whole packet (eg "-s 256") but it _should_ just be the four >bytes "00 00 00 00"] >... >-> SetPath (0x85) Flags=DoNotCreateIfNotExist, Name=<empty> >21:43:28.757565 (18) > 1d 9a 05 2d 01 85 00 0d 02 00 cb 00 00 00 00 01 > 00 03 >... ><- Not Implemented (0xD1) >21:43:28.797538 (8) > 1c da 2d 05 00 d1 00 03 >... >-> Disconnect (0x81) >21:43:28.815557 (13) > 1d dc 05 2d 01 81 00 08 cb 00 00 00 00 ><- Success (0xA0) >21:43:28.834533 (8) > 1c fc 2d 05 01 a0 00 03 > > >BTW, the log in full was: >[root@surfzoidPC linux-2.6.17-4mdv]# irdadump -b -p >21:43:17.827003 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 05 00 >21:43:17.926850 (26) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 ff 00 44 00 > 73 75 72 66 7a 6f 69 64 50 43 >21:43:20.327137 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 00 00 >21:43:20.427149 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 01 00 >21:43:20.527174 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 02 00 >21:43:20.627178 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 03 00 >21:43:20.727182 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 04 00 >21:43:20.827193 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 05 00 >21:43:20.908806 (22) > fe bf 01 18 00 11 6e c5 c3 1e b5 01 05 00 90 24 > 00 4d 54 31 37 30 >21:43:20.927214 (26) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 ff 00 44 00 > 73 75 72 66 7a 6f 69 64 50 43 >21:43:23.327504 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 00 00 >21:43:23.427511 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 01 00 >21:43:23.512390 (22) > fe bf 01 18 00 11 6e c5 c3 1e b5 01 01 00 90 24 > 00 4d 54 31 37 30 >21:43:23.527519 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 02 00 >21:43:23.627531 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 03 00 >21:43:23.727544 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 04 00 >21:43:23.827595 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 05 00 >21:43:23.927580 (26) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 ff 00 44 00 > 73 75 72 66 7a 6f 69 64 50 43 >21:43:26.327860 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 00 00 >21:43:26.427895 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 01 00 >21:43:26.527883 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 02 00 >21:43:26.627903 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 03 00 >21:43:26.727912 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 04 00 >21:43:26.827938 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 05 00 >21:43:26.908848 (22) > fe bf 01 18 00 11 6e c5 c3 1e b5 01 05 00 90 24 > 00 4d 54 31 37 30 >21:43:26.927932 (26) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 ff 00 44 00 > 73 75 72 66 7a 6f 69 64 50 43 >21:43:28.486057 (32) > ff 93 c5 c3 1e b5 18 00 11 6e 1c 01 01 3f 82 01 > 01 83 01 3f 84 01 7f 85 01 ff 86 01 64 08 01 07 >21:43:28.598572 (31) > 1c 73 18 00 11 6e c5 c3 1e b5 01 01 3f 82 01 01 > 83 01 07 84 01 01 85 01 80 86 01 01 08 01 07 >21:43:28.598953 (2) > 1d 11 >21:43:28.625568 (2) > 1c 11 >21:43:28.625593 (6) > 1d 10 80 2c 01 00 >21:43:28.644564 (6) > 1c 30 ac 00 81 00 >21:43:28.644593 (30) > 1d 32 00 2c 84 04 4f 42 45 58 13 49 72 44 41 3a > 54 69 6e 79 54 50 3a 4c 73 61 70 53 65 6c >21:43:28.665554 (15) > 1c 52 2c 00 84 00 00 01 00 02 01 00 00 00 05 >21:43:28.665591 (6) > 1d 54 80 2c 02 01 >21:43:28.681551 (2) > 1c 71 >21:43:28.681578 (7) > 1d 56 85 2d 01 00 10 >21:43:28.700554 (7) > 1c 94 ad 05 81 00 01 >21:43:28.700582 (2) > 1d 71 >21:43:28.718551 (2) > 1c 91 >21:43:28.718574 (31) > 1d 78 05 2d 00 80 00 1a 10 00 04 00 46 00 13 f9 > ec 7b c4 95 3c 11 d2 98 4e 52 54 00 dc 9e 09 >21:43:28.739548 (36) > 1c b6 2d 05 01 a0 00 1f 10 00 03 f7 4a 00 13 f9 > ec 7b c4 95 3c 11 d2 98 4e 52 54 00 dc 9e 09 cb >21:43:28.739578 (2) > 1d 91 >21:43:28.757539 (2) > 1c b1 >21:43:28.757565 (18) > 1d 9a 05 2d 01 85 00 0d 02 00 cb 00 00 00 00 01 > 00 03 >21:43:28.778540 (5) > 1c d8 2d 05 01 >21:43:28.778565 (2) > 1d b1 >21:43:28.797538 (8) > 1c da 2d 05 00 d1 00 03 >21:43:28.797565 (2) > 1d d1 >21:43:28.815533 (2) > 1c d1 >21:43:28.815557 (13) > 1d dc 05 2d 01 81 00 08 cb 00 00 00 00 >21:43:28.834533 (8) > 1c fc 2d 05 01 a0 00 03 >21:43:28.834561 (2) > 1d f1 >21:43:28.852543 (2) > 1c f1 >21:43:28.852577 (6) > 1d fe 85 2d 02 01 >21:43:28.870527 (2) > 1c 53 >21:43:28.870550 (2) > 1d 53 >21:43:28.889521 (2) > 1c 73 >21:43:32.328596 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 00 00 >21:43:32.428600 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 01 00 >21:43:32.528609 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 02 00 >21:43:32.628662 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 03 00 >21:43:32.728647 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 04 00 >21:43:32.811891 (22) > fe bf 01 18 00 11 6e c5 c3 1e b5 01 04 00 90 24 > 00 4d 54 31 37 30 >21:43:32.828649 (14) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 05 00 >21:43:32.928664 (26) > ff 3f 01 c5 c3 1e b5 ff ff ff ff 01 ff 00 44 00 > 73 75 72 66 7a 6f 69 64 50 43 > >66 packets received by filter >[root@surfzoidPC linux-2.6.17-4mdv]# >-- >Alan J. McFarlane >http://www.alanjmcf.me.uk/ >Please follow-up in the newsgroup for the benefit of all. > > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >irda-users mailing list >ird...@li... >http://lists.sourceforge.net/lists/listinfo/irda-users _________________________________________________________________ Découvrez Windows Live Messenger : le futur de MSN Messenger ! www.windowslivemessenger.fr |