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

Submitter:  Andre Seidelt <Ilu>
Submitted:  Sun 17 Oct 2004 10:48:30 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>
Group 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>

 

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

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-18 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-10-17 Ilu Attached File- Added BinWriter.patch, #1768

Back to the top

Powered by Savane 3.12