bugFXScintilla - Bugs: bug #4739, CLipboard data length (Win32)

 
 

bug #4739: CLipboard data length (Win32)

Submitted by:  Gilles Filippini <pini>
Submitted on:  Wed 13 Aug 2003 10:16:16 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Gilles Filippini <pini>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 13 Aug 2003 10:42:21 PM UTC, comment #1:

Fixed in version 1.53 (1.53 version mentionned by Rafel wasn't official).

Gilles Filippini <pini>In charge of this item.
Wed 13 Aug 2003 10:16:16 PM UTC, original submission:

Hi Gilles,

I have experienced some problems with the FXScintilla including in the latest version
1.53 when using windows 9x.

The problem is that in windows 9x (not NT, 2000 or XP) the data length received
from the clipboard is potentially greather than should be.

The sorce of the problem is in the function:

void ScintillaFOX::ReceivedSelection(FXDNDOrigin origin)

to fix the problem just replace:

#ifdef WIN32
//len--;
#endif // WIN32

by:

#ifdef WIN32
len=0;
while(data[len])
len++;
#endif // WIN32

Continue the good job with FXScintilla!!

Thanks in advance.

-Rafael.

Gilles Filippini <pini>In charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 13 Aug 2003 10:42:21 PM UTCpiniStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1