[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/IO/BinaryReade...
From: |
Radek Polak |
Subject: |
[dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/IO/BinaryReade... |
Date: |
Fri, 25 May 2007 13:18:15 +0000 |
CVSROOT: /sources/dotgnu-pnet
Module name: pnetlib
Changes by: Radek Polak <radekp> 07/05/25 13:18:14
Modified files:
. : ChangeLog
runtime/System/IO: BinaryReader.cs
Log message:
Initialize result to 0 before use
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2502&r2=1.2503
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/IO/BinaryReader.cs?cvsroot=dotgnu-pnet&r1=1.9&r2=1.10
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2502
retrieving revision 1.2503
diff -u -b -r1.2502 -r1.2503
--- ChangeLog 25 May 2007 08:21:18 -0000 1.2502
+++ ChangeLog 25 May 2007 13:18:14 -0000 1.2503
@@ -1,3 +1,7 @@
+2007-05-25 Radek Polak <address@hidden>
+
+ * runtime/System/IO/BinaryReader.cs: Initialize result to 0 before use.
+
2007-05-25 Kirill Kononenko <address@hidden>
* runtime/System/IO/BinaryReader.cs: Dont throw
Index: runtime/System/IO/BinaryReader.cs
===================================================================
RCS file: /sources/dotgnu-pnet/pnetlib/runtime/System/IO/BinaryReader.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- runtime/System/IO/BinaryReader.cs 25 May 2007 08:21:18 -0000 1.9
+++ runtime/System/IO/BinaryReader.cs 25 May 2007 13:18:14 -0000 1.10
@@ -411,7 +411,7 @@
public virtual byte[] ReadBytes(int count)
{
byte[] buffer;
- int result;
+ int result = 0;
if(count < 0)
{
throw new ArgumentOutOfRangeException