Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 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 by J-Paul Mesnage, 14 years ago

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 by Valik, 14 years ago

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 by guinness, 14 years ago

Milestone: 3.3.9.1
Owner: set to guinness
Resolution: Fixed
Status: newclosed

Fixed by revision [6781] in version: 3.3.9.1

comment:4 by J-Paul Mesnage, 14 years ago

Component: DocumentationStandard UDFs

Modify Ticket

Action
as closed The owner will remain guinness.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.