commit | 774e87313a722b36d2411c587111e00014f54074 | [log] [tgz] |
---|---|---|
author | Paul Pazderski <paul-eclipse@ppazderski.de> | Wed Sep 30 22:26:12 2020 +0200 |
committer | Paul Pazderski <paul-eclipse@ppazderski.de> | Thu Oct 01 20:51:36 2020 +0200 |
tree | 9a52a548f6817361130441e145d4a8a6c46fdefa | |
parent | 898f4687e7aa452eea049c966b2da28a59214a67 [diff] |
Bug 567422 - [Win32][DND] Drag and Drop can crash if target keep reference to COM object The aggressive release of all COM objects after the drag/drop operation is done can be problematic if the drop target keeps a reference to one of the COM objects for later use. When the target later tries to release (or access) the already disposed COM object a crash from invalid memory access is likely. Instead if should trust that the target will eventually release the references it still holds. For the case that the target will request the data again after DND is finished the last requested data is cached. Note: sending a DragSetData event before DragStart or after DragEnd is considered a bug. Change-Id: I48e88a58e46111a3879e071d56abb79ac75114a9 Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
Thanks for your interest in this project.
See the following description for how to contribute a feature or a bug fix to SWT.
Information regarding source code management, builds, coding standards, and more and be found under the following link.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Contact the project developers via the project's “dev” list.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!