View Issue Details

IDProjectCategoryView StatusLast Update
0004129JEDI VCL00 JVCL Componentspublic2007-05-14 13:47
Reporteraml1005Assigned Toremkobonte 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.30 
Target VersionFixed in Version3.34 
Summary0004129: JvRichEdit corrupts unicode Lines.LoadFromStream
DescriptionStreaming in a file above a certain size with unicode stream mode leads to corruption.

I believe the first line of TCookie.LoadW

  BufferSize := BufferSize div 2;

should be deleted. Then it works OK. (probably similarly in Load)
TagsNo tags attached.

Activities

remkobonte

2007-05-13 16:14

developer   ~0012771

Can you attach to this bug report a sample unicode file that corrupts?

aml1005

2007-05-14 03:36

reporter   ~0012778

I was actually streaming in from a memory stream, but I think it will happen with anything above about 2K in size.

remkobonte

2007-05-14 13:47

developer   ~0012793

You are correct; this should now be fixed in revision 11282.

Thanks for the report.

Issue History

Date Modified Username Field Change
2007-05-13 05:21 aml1005 New Issue
2007-05-13 16:14 remkobonte Note Added: 0012771
2007-05-13 16:14 remkobonte Status new => feedback
2007-05-14 03:36 aml1005 Note Added: 0012778
2007-05-14 13:47 remkobonte Status feedback => resolved
2007-05-14 13:47 remkobonte Fixed in Version => Daily / SVN
2007-05-14 13:47 remkobonte Resolution open => fixed
2007-05-14 13:47 remkobonte Assigned To => remkobonte
2007-05-14 13:47 remkobonte Note Added: 0012793