Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2084 closed Bug (Fixed)

_ClipBoard_GetDataEx Help File Example crash

Reported by: wakillon Owned by: guinness
Milestone: 3.3.9.1 Component: Standard UDFs
Version: 3.3.8.0 Severity: None
Keywords: Cc:

Description

_ClipBoard_GetDataEx Help File Example crash
when click on Get ClipBoard Data button.

No error messages
just return AutoIT3.exe ended.rc:-1073741819
I'm on Xp sp3.

Attachments (0)

Change History (4)

comment:1 Changed 13 years ago by Jpm

I can't reproduce it.
I assume some special data were in the clipboard.
Just try to reproduce and describe what you did

comment:2 Changed 13 years ago by Valik

God damn it, does nobody read MSDN? It's pretty fucking clear on this:

The application must not free the handle nor leave it locked. The application must not use the handle after the EmptyClipboard or CloseClipboard function is called,

And of course the code doesn't even try to use the handle until after CloseClipboard() is called so it's just plain broken. The code is shit anyway. There are 2 exit points that do not invoke _ClipBoard_Close(). Best of all those two exit points require user input to pass-through so the clipboard is locked indefinitely waiting on user input in the case of error.

Brilliant!

comment:3 Changed 13 years ago by guinness

  • Milestone set to 3.3.9.1
  • Owner set to guinness
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [6781] in version: 3.3.9.1

comment:4 Changed 13 years ago by Jpm

  • Component changed from Documentation to Standard UDFs

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain guinness.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.