jens-maus / yam

:mailbox_with_mail: YAM (short for 'Yet Another Mailer') is a MIME-compliant open-source Internet email client written for Amiga-based computer systems (AmigaOS4, AmigaOS3, MorphOS, AROS). It supports POP3, SMTP, TLSv1/SSLv3 connection security, multiple users, multiple identities, PGPv2/v5 encryption, unlimited hierarchical folders, an ARexx interface, etc...
https://yam.ch
GNU General Public License v2.0
63 stars 18 forks source link

Crash in Configuration/Signature #545

Closed jens-maus closed 8 years ago

jens-maus commented 8 years ago

Originally by @raziel- on 2014-04-19 09:53:51 +0200


Summary

If you copy something (anything) into the "Signature text" field while it's not in use and leave it there while cancelling the changes YAM will crash

Steps to reproduce

  1. Open Notepad or any other text based program
  2. Enter anything...like dkjgbjdshngjksödhgiösihdsf
  3. Mark what you typed
  4. Right-Amiga + C it (copy to Clipboard)
  5. In YAM go to Config/Signature

My signature tab looks like this:

Signatures: Default Signature

Signature: Active - Checked

Description: Default Signature

Signature Text: Completely empty All three buttons beneath the Signature text are greyed out Append a file as signature instead: Checked Path to the signature file

  1. Now click once into the "Description" field underneath the "Active" checkmark (a cursor should be visible now behind the text "Default signature")
  2. Press the TAB key (you'll see a border appear underneath around the "Description" field when it gets activated)
  3. Press Right-Amiga + V to paste your Clipboard text here
  4. The last step is to click on "Cancel" and then on "Close Window" and it crashes

    Expected results

No crash and probably no possibility to activate the "Signature text" field using TAB when it's not meant to be in use

Actual results

The possibility to activate and paste into the "Signature text" filed while it's not in use and crashing YAM :-)

Regression

I have no idea if this is a regression as i never tried to do the above.

What i know is that it also happens in v2.9...i checked before updating

Notes

Hmm, notes, notes...ah, ok

Thank you for the very best eMail program on every platform out there :-)

jens-maus commented 8 years ago

Originally by @raziel- on 2014-04-19 09:54:07 +0200


Attachment added: Crashlog_YAM_2014-04-19_09-24-56.txt (35.6 KiB)

jens-maus commented 8 years ago

Originally by @raziel- on 2014-04-19 09:54:34 +0200


Attachment added: Crashlog_YAM_2014-04-19_09-19-27.txt (35.9 KiB) This is a crashlog created with YAM2.9

jens-maus commented 8 years ago

Originally by @raziel- on 2014-04-19 09:58:58 +0200


Step 7 should of course be

  1. Press the TAB key (you'll see a border appear underneath around the "Signature text" field when it gets activated)
tboeckel commented 8 years ago

Originally on 2014-04-20 13:56:47 +0200


In (807ae3e):

tboeckel commented 8 years ago

Originally on 2014-04-20 13:58:10 +0200


Release Note: fixed a wrong pointer handling for signatures causing a crash.