Permalink
Browse files

imcb_file_send_start: handle ft attempts from non-existing users

  • Loading branch information...
dequis committed Nov 13, 2016
1 parent fca4683 commit 701ab8129ba9ea64f569daedca9a8603abad740f
Showing with 1 addition and 1 deletion.
  1. +1 −1 protocols/bee_ft.c
@@ -30,7 +30,7 @@ file_transfer_t *imcb_file_send_start(struct im_connection *ic, char *handle, ch
bee_t *bee = ic->bee;
bee_user_t *bu = bee_user_by_handle(bee, ic, handle);

if (bee->ui->ft_in_start) {
if (bee->ui->ft_in_start && bu) {
return bee->ui->ft_in_start(bee, bu, file_name, file_size);
} else {
return NULL;

2 comments on commit 701ab81

@carnil

This comment has been minimized.

@dequis

This comment has been minimized.

Copy link
Member

dequis replied Jan 31, 2017

CVE-2016-10189 has been assigned for this

(see also 30d598c for a followup fix)

Please sign in to comment.