--===============89070142485226711== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_hbS3+NSpFHCOb1U"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_hbS3+NSpFHCOb1U Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Laurent! On Monday 02 June 2003 21:24, Laurent Montel wrote: > Hi, > > When you have several messages : > -> no crypted message > -> crypted message. > -> other message > > When you select "no crypted message" and you press "delete" key > twice, you have "openpgp dialogbox" which are displayed. > But encrypted message was deleted > =3D> so when you uncrypte message kmail crash. > [snipped backtrace] > > To fixe crash I test "message()" and "aMsg" > And when it's not same message I return > > If this patch is ok could you commit it. Thanks for trying to fix this crash. But unfortunately this patch won't=20 work. It would probably prevent the crash. But=20 KMReaderWin::parseMsg(KMMessage* aMsg, ...) is also called from=20 ObjectTreeParser::processMessageType(...) to display attached messages=20 inline. And in this case aMsg is not equal to message(). So your patch=20 would break inline displaying of attached messages. Regards, Ingo --Boundary-02=_hbS3+NSpFHCOb1U Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+3SbhGnR+RTDgudgRAtJ0AJ0eyGaBsPoVF5pyyBqJuHOcywM+IwCghzOu NReK6UGE70W5r9vwYqhAmm8= =jXZ+ -----END PGP SIGNATURE----- --Boundary-02=_hbS3+NSpFHCOb1U-- --===============89070142485226711== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail --===============89070142485226711==--