bugDotGNU Portable.NET - Bugs: bug #10707, assemblies are serialized 'to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10707: assemblies are serialized 'to late' or wrong

Submitted by:  Andre Seidelt <Ilu>
Submitted on:  Sun 17 Oct 2004 10:48:30 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 18 Oct 2004 10:52:19 AM UTC, comment #2:

Patch applied to CVS on 18th Oct 2004

Gopal.V <t3rmin4t0r>
Project Administrator
Mon 18 Oct 2004 06:05:53 AM UTC, comment #1:

Please submit patches as such , not as bug reports .
Makes it easier for me.

Applying soonish.

Gopal.V <t3rmin4t0r>
Project Administrator
Sun 17 Oct 2004 10:48:30 AM UTC, original submission:

When serializing objects it may happen that the Assembly entry is serialized AFTER the object referencing it. This is especially true for object arrays.
For arrays there even exists a bug which serializes the
'no assembly' for synthetic types into the stream.

I'm not sure if this is forbidden with MS.NET, but I never found a case where it happened in MS.NET streams.
Nonetheless the current implementation of pnet fails to deserialize such streams.

the attached patch seems to fix that problem and a case, where the wrong type was used when serializing object arrays.

PLEASE NOTE:
don't apply the parts enclosed in "// ILU" and "// endILU"
as these are only relevant for my patched version of pnet!

Andre Seidelt <Ilu>

 

Attached Files
file #1875:  BinWriter.patch added by Ilu (2KiB - application/octet-stream - the patch)

 

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 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 18 Oct 2004 10:52:19 AM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sun 17 Oct 2004 10:48:30 AM UTCIluAttached File-=>Added BinWriter.patch, #1768

Back to the top


Powered by Savane 3.1-cleanup1