| 119 aim_bstream_t qbs; |
119 aim_bstream_t qbs; |
| 120 fu32_t ouruin; |
120 fu32_t ouruin; |
| 121 fu16_t cmdlen, cmd, reqid; |
121 fu16_t cmdlen, cmd, reqid; |
| 122 |
122 |
| 123 if (!(tl = aim_readtlvchain(bs)) || !(datatlv = aim_gettlv(tl, 0x0001, 1))) { |
123 if (!(tl = aim_readtlvchain(bs)) || !(datatlv = aim_gettlv(tl, 0x0001, 1))) { |
| 124 if (tl) |
124 aim_freetlvchain(&tl); |
| 125 aim_freetlvchain(&tl); |
|
| 126 faimdprintf(sess, 0, "corrupt ICQ response\n"); |
125 faimdprintf(sess, 0, "corrupt ICQ response\n"); |
| 127 return 0; |
126 return 0; |
| 128 } |
127 } |
| 129 |
128 |
| 130 aim_bstream_init(&qbs, datatlv->value, datatlv->length); |
129 aim_bstream_init(&qbs, datatlv->value, datatlv->length); |