+2003-01-01 [thorsten] 0.8.8claws34
+
+ * src/procmsg.c
+ inhibit endless loop if msg references itself
+ (closes Bug [ 660477 ] Infinite loop in parent flag search)
+
2003-01-01 [christoph] 0.8.8claws33
* src/mainwindow.c
procmsg_msginfo_free(tmp);
return TRUE;
} else if (tmp != NULL) {
- gboolean result = procmsg_msg_has_flagged_parent(tmp, perm_flags);
+ gboolean result;
+ if (tmp->msgnum == info->msgnum) {
+ debug_print("LOOP: message %s%c%d references itself\n",
+ folder_item_get_path(info->folder),
+ G_DIR_SEPARATOR, info->msgnum);
+ result = FALSE;
+ } else
+ result = procmsg_msg_has_flagged_parent(tmp, perm_flags);
procmsg_msginfo_free(tmp);
return result;
} else {