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

111 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 46143][Nor] New - 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="006289.html">
<LINK REL="Next" HREF="006291.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 46143][Nor] New - 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] New - CryptoStream.Close throws Exception when not read to end">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Fri, 11 Jul 2003 06:06:34 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006289.html">[Mono-bugs] [Bug 45959][Cri] Changed - UDP Sockets: Multicast and Broadcast Datagrams are not received
</A></li>
<LI> Next message: <A HREF="006291.html">[Mono-bugs] [Bug 46143][Nor] Changed - CryptoStream.Close throws Exception when not read to end
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6290">[ date ]</a>
<a href="thread.html#6290">[ thread ]</a>
<a href="subject.html#6290">[ subject ]</a>
<a href="author.html#6290">[ 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:joergr@voelcker.com.">joergr@voelcker.com.</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:06:34 2003
+++ shadow/46143.tmp.32167 Fri Jul 11 06:06:34 2003
@@ -0,0 +1,47 @@
+Bug#: 46143
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Debian Woody
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+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: ---
+URL:
+Cc:
+Summary: CryptoStream.Close throws Exception when not read to end
+
+Description of Problem:
+If you open a CryptoStream for reading and don't read it to end it throws
+an exception: cannot flush a non-writeable CryptoStream
+
+
+Steps to reproduce the problem:
+1. Compile the attached sample
+2. Run it
+
+Actual Results:
+Please e
+cannot flush a non-writeable CryptoStream
+in [0x0002c] (at
+/home/viadmin/mono-cvs/mcs/class/corlib/System.Security.Cryptography/CryptoStream.cs:170)
+00 System.Security.Cryptography.CryptoStream:FlushFinalBlock ()
+in &lt;0x00054&gt; 08 System.Security.Cryptography.CryptoStream:FlushFinalBlock ()
+in [0x0000c] (at
+/home/viadmin/mono-cvs/mcs/class/corlib/System.Security.Cryptography/CryptoStream.cs:90)
+00 System.Security.Cryptography.CryptoStream:Close ()
+in &lt;0x00259&gt; 00 MonoTest.MainClass:Main ()
+
+Expected Results:
+Please enc
+
+How often does this happen?
+Always.
+
+Additional Information:
+It happened when deserializing objects from crypted files.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006289.html">[Mono-bugs] [Bug 45959][Cri] Changed - UDP Sockets: Multicast and Broadcast Datagrams are not received
</A></li>
<LI> Next message: <A HREF="006291.html">[Mono-bugs] [Bug 46143][Nor] Changed - CryptoStream.Close throws Exception when not read to end
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6290">[ date ]</a>
<a href="thread.html#6290">[ thread ]</a>
<a href="subject.html#6290">[ subject ]</a>
<a href="author.html#6290">[ author ]</a>
</LI>
</UL>
</body></html>