Revision 3306

View differences:

src/textview.c
2301 2301
			ac = account_find_from_item(msginfo->folder);
2302 2302
		if (ac && ac->protocol == A_NNTP)
2303 2303
			ac = NULL;
2304
		compose_new(ac, msginfo->folder, uri->uri + 7, NULL);
2304
		compose_new(ac, msginfo ? msginfo->folder : NULL,
2305
			    uri->uri + 7, NULL);
2305 2306
	} else if (uri->uri[0] == '#') {
2306 2307
		/* don't open in-page link */
2307 2308
	} else if (textview_uri_security_check(textview, uri) == TRUE)
......
2540 2541
			ac = account_find_from_item(msginfo->folder);
2541 2542
		if (ac && ac->protocol == A_NNTP)
2542 2543
			ac = NULL;
2543
		compose_new(ac, msginfo->folder, uri->uri + 7, NULL);
2544
		compose_new(ac, msginfo ? msginfo->folder : NULL,
2545
			    uri->uri + 7, NULL);
2544 2546
	} else if (uri->uri[0] == '#') {
2545 2547
		/* don't open in-page link */
2546 2548
	} else if (textview_uri_security_check(textview, uri) == TRUE)
src/summaryview.c
4460 4460
	FolderSortType sort_type = SORT_ASCENDING;
4461 4461
	MsgInfo *selected_msg, *displayed_msg;
4462 4462

  
4463
	if (!summaryview->folder_item)
4464
		return;
4465

  
4463 4466
	summary_lock(summaryview);
4464 4467

  
4465 4468
	debug_print(_("Unthreading..."));
......
4474 4477
	displayed_msg = summary_get_msginfo
4475 4478
		(summaryview, summaryview->displayed);
4476 4479

  
4477
	if (summaryview->folder_item)
4478
		summaryview->folder_item->threaded = FALSE;
4480
	summaryview->folder_item->threaded = FALSE;
4479 4481

  
4480 4482
	if (summaryview->folder_item->sort_key != SORT_BY_NONE) {
4481 4483
		sort_key = summaryview->folder_item->sort_key;
ChangeLog
1 1
2013-11-28
2 2

  
3 3
	* libsylph/ssl.c: ssl_done(): check if fp != NULL.
4
	* src/textview.c:
5
	  textview_popup_menu_activate_open_uri_cb():
6
	  textview_event_after():
7
	  prevent null dereference of msginfo.
8
	* src/summaryview.c: summary_unthread(): first check if
9
	  summaryview->folder_item is non-null.
4 10

  
5 11
2013-11-28
6 12

  

Also available in: Unified diff