[6884] in Athena Bugs
Re: Vax 7.2P zwgc dumps core while doing cut and paste
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Jan 11 22:19:00 1991
To: John Carr <jfc@ATHENA.MIT.EDU>
Cc: bugs@ATHENA.MIT.EDU, bug-zephyr@ATHENA.MIT.EDU
Cc: akagerry@ATHENA.MIT.EDU
In-Reply-To: [6879] in bugs
Reply-To: marc@MIT.EDU
Date: Fri, 11 Jan 91 22:18:42 EST
From: Marc Horowitz <marc@ATHENA.MIT.EDU>
Yes, that's what happened. I looked into it in more detail, but I
have no clue HOW that could have happened. The only time that
getSelectedText() can return null is between a ButtonPress and it's
corresponding ButtonRelease. I don't know how Jerry managed to try to
paste in that time. Jerry, can you replicate this?
Anyway, the design seems kind of odd (the ButtonPress should leave
something in the selected_text pointer), so that should get looked at.
The easy fix is to stick a test in there for a null return from
getSelectedText and pass the right stuff (NULL and 0, I think, but I
need to check the ICCCM) into ChangeProp.
Marc