# HG changeset patch # User Mark Doliner # Date 1049054548 0 # Node ID 6c02ee2b471df5d6a9b368b5fb29a09a08cc8725 # Parent a6e9cd5e853e068d40a8499c3a18801fe9605786 [gaim-migrate @ 5247] Fix a crash on receiving oscar direct connect messages. committer: Tailor Script diff -r a6e9cd5e853e -r 6c02ee2b471d src/protocols/oscar/ft.c --- a/src/protocols/oscar/ft.c Sun Mar 30 18:45:49 2003 +0000 +++ b/src/protocols/oscar/ft.c Sun Mar 30 20:02:28 2003 +0000 @@ -650,7 +650,7 @@ aim_bstream_setpos(bs, 36); /* XXX - create an aimbs_getnullstr function? */ - snptr = aimbs_getstr(bs, MAXSNLEN); + snptr = aimbs_getstr(bs, 32); /* Next 32 bytes contain the sn, padded with null chars */ faimdprintf(sess, 2, "faim: OFT frame: handlehdr_odc: %04x / %04x / %s\n", payloadlength, flags, snptr);