You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2002/10/24 17:44:15 UTC

cvs commit: xml-axis/java/src/org/apache/axis/attachments ManagedMemoryDataSource.java

dims        2002/10/24 08:44:15

  Modified:    java/src/org/apache/axis/attachments
                        ManagedMemoryDataSource.java
  Log:
  Fix for Bug 13665 - A 0xFF in an attachment can mask as an EOF
  from rcauble@motive.com (Robert Cauble)
  
  Revision  Changes    Path
  1.24      +1 -2      xml-axis/java/src/org/apache/axis/attachments/ManagedMemoryDataSource.java
  
  Index: ManagedMemoryDataSource.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/attachments/ManagedMemoryDataSource.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ManagedMemoryDataSource.java	18 Sep 2002 16:10:38 -0000	1.23
  +++ ManagedMemoryDataSource.java	24 Oct 2002 15:44:15 -0000	1.24
  @@ -608,8 +608,7 @@
                   if (br == -1) {
                       return -1;
                   }
  -
  -                return retb[0];
  +                return 0xFF & retb[0];
               }
           }