mail-archives/mono-bugs/2003-July/006697.html

104 строки
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 46143][Nor] Changed - CryptoStream.Close throws Exception when not read to end
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006696.html">
<LINK REL="Next" HREF="006698.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 46143][Nor] Changed - CryptoStream.Close throws Exception when not read to end
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 46143][Nor] Changed - CryptoStream.Close throws Exception when not read to end">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Wed, 30 Jul 2003 15:01:42 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006696.html">[Mono-bugs] [Bug 44845][Wis] Changed - MCS doesn't find the best overloaded match for a constructor
</A></li>
<LI> Next message: <A HREF="006698.html">[Mono-bugs] [Bug 47095][Min] Changed - Error with control-flow-analysis in functions with &quot;out&quot; parameters
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6697">[ date ]</a>
<a href="thread.html#6697">[ thread ]</a>
<a href="subject.html#6697">[ subject ]</a>
<a href="author.html#6697">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:spouliot@videotron.ca.">spouliot@videotron.ca.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=46143">http://bugzilla.ximian.com/show_bug.cgi?id=46143</A>
--- shadow/46143 Fri Jul 11 06:07:23 2003
+++ shadow/46143.tmp.4124 Wed Jul 30 15:01:42 2003
@@ -1,14 +1,14 @@
Bug#: 46143
Product: Mono/Class Libraries
Version: unspecified
OS: Debian Woody
OS Details:
-Status: NEW
+Status: ASSIGNED
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
ReportedBy: <A HREF="mailto:JoergR@voelcker.com">JoergR@voelcker.com</A>
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
TargetMilestone: ---
@@ -47,6 +47,23 @@
It happened when deserializing objects from crypted files.
------- Additional Comments From <A HREF="mailto:JoergR@voelcker.com">JoergR@voelcker.com</A> 2003-07-11 06:07 -------
Created an attachment (id=4839)
Test case
+
+------- Additional Comments From <A HREF="mailto:spouliot@videotron.ca">spouliot@videotron.ca</A> 2003-07-30 15:01 -------
+Exception fixed in CVS. Close called FlushFinalBlock for read-only
+stream.
+
+However, I'll keep this bug open because we're not returning the
+same results as MS.
+
+MS returns: &quot;Please enc&quot; (10 unicode chars == 20 bytes == length of
+stream that has been read).
+Mono returns: &quot;Please e&quot; (8 unicode chars == 16 bytes == AES block
+size).
+
+This probably means that the decryption is done by block size
+(rounded up) but only returns the specified length (the rest is
+probably cached). This is more complex than the current (quick)
+design. CryptoStream needs to be re-written.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006696.html">[Mono-bugs] [Bug 44845][Wis] Changed - MCS doesn't find the best overloaded match for a constructor
</A></li>
<LI> Next message: <A HREF="006698.html">[Mono-bugs] [Bug 47095][Min] Changed - Error with control-flow-analysis in functions with &quot;out&quot; parameters
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6697">[ date ]</a>
<a href="thread.html#6697">[ thread ]</a>
<a href="subject.html#6697">[ subject ]</a>
<a href="author.html#6697">[ author ]</a>
</LI>
</UL>
</body></html>