Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.h @ 13652:a07dcc2c01bd
[gaim-migrate @ 16053]
Fix Coverity CID 42: Possible NULL pointer dereference when the server
does not give us a cookie in their reply to our login response. This
should never happen.
Fix Coverity CID 43 and 44: Possible NULL pointer dereference. Technically
not possible... but the code is cleaner and faster this way.
Fix Coverity CID 58: Fix a memleak of two small strings totaling about
10 bytes when parsing most incoming chat messages (not IM--just chat)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 18 Apr 2006 04:03:18 +0000 |
parents | 7f91efd5af77 |
children | 33294de08fe0 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.h Tue Apr 18 00:07:15 2006 +0000 +++ b/src/protocols/oscar/oscar.h Tue Apr 18 04:03:18 2006 +0000 @@ -1305,6 +1305,8 @@ } aim_tlvlist_t; /* TLV handling functions */ +char *aim_tlv_getvalue_as_string(aim_tlv_t *tlv); + aim_tlv_t *aim_tlv_gettlv(aim_tlvlist_t *list, guint16 type, const int nth); int aim_tlv_getlength(aim_tlvlist_t *list, guint16 type, const int nth); char *aim_tlv_getstr(aim_tlvlist_t *list, const guint16 type, const int nth);