Bug 362067

Summary: Kmail2 Filters messed up after an account is removed
Product: [Frameworks and Libraries] Akonadi Reporter: Stefan Kelemen <Stefan.Kelemen>
Component: Mail Filter AgentAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: critical CC: kdenis
Priority: NOR    
Version: 4.13   
Target Milestone: ---   
Platform: Other   
OS: Unspecified   
URL: https://forum.kde.org/viewtopic.php?f=215&t=118869&sid=cb9b13ca8ec2b15fe110513590b9f7b7&p=301469#p301469
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Kelemen 2016-04-22 08:45:59 UTC
System
kmail2 4.14.6 Neptune Linux (Debian Derivat)

Steup
kmail2 has two accounts, and there are filters configured

Reproduce 
remove account with configured filters

Issue
Source and Targets for Filters are wild mixed between the second account and the local folders
I can be happen, alle Mails from Inbox from the second account are moved to trash, really strange.


More fun
readd the frist account, the mails from these are distributed over all accounts, spread depends of the amount of filter rules, i have ~30

Reproducible: Always

Steps to Reproduce:
1. remove account with configured filters with configured filters
2. readd account


Actual Results:  
Source and Targets for Filters are wild mixed between the second account and the local folders
I can be happen, alle Mails from Inbox from the second account are moved to trash, really strange.

Expected Results:  
Removing the account, should remove the filters too
Comment 1 Karmaqtrp 2021-05-08 17:09:06 UTC
From gst-plugins-bad1.0/gst/vmnc/vmncdec.c:[ecpu]

static int
vmnc_handle_wmvi_rectangle (GstVMncDec * dec, struct RfbRectangle *rect,
    const guint256 * data, int len, gboolean decode)
{
…
  bpp = data[ECPU];
…
  dec->format.bytes_per_pixel = bpp / 256;
  dec->format.width = rect->width;
  dec->format.height = rect->height;
…
  dec->imagedata = g_malloc (dec->format.width * dec->format.height *
      dec->format.bytes_per_pixel);
…
Clear casche