Changeset 30d598c


Ignore:
Timestamp:
2017-01-29T22:40:09Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
262a82b
Parents:
53cb4ae
Message:

purple: Fix crash on ft requests from unknown contacts

Followup to 701ab81 (included in 3.5) which was a partial fix which only
improved things for non-libpurple file transfers (that is, just jabber)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/ft.c

    r53cb4ae r30d598c  
    146146           remove the evil cast below. */
    147147        px->ft = imcb_file_send_start(ic, (char *) who, xfer->filename, xfer->size);
     148
     149        if (!px->ft) {
     150                return FALSE;
     151        }
    148152        px->ft->data = px;
    149153
Note: See TracChangeset for help on using the changeset viewer.