Commit: 6972

From: Robert Wilhelm <robert.wilhelm_at_gmx.net>
Date: Sat Sep 18 2004 - 07:07:37 CEST

fix 6972. off by one error in my last block_count sanity check.
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: ms-ole.c
CVS:

Please backport.

[robert@tau libole2]$ cvs diff ms-ole.c
Index: ms-ole.c
===================================================================
RCS file: /cvsroot/wv/libole2/ms-ole.c,v
retrieving revision 1.45
diff -u -r1.45 ms-ole.c
--- ms-ole.c 13 Sep 2004 20:55:22 -0000 1.45
+++ ms-ole.c 18 Sep 2004 05:02:10 -0000
@@ -1087,7 +1087,7 @@
        g_print ("get_pps_ptr: blk = %d\n", blk);
 #endif
  
- if ( blk > BLOCK_COUNT(f)) {
+ if ( blk >= BLOCK_COUNT(f)) {
                g_warning ("Serious error finding pps %d\n", i);
                return 0;
        }
Received on Sat Sep 18 07:07:30 2004

This archive was generated by hypermail 2.1.8 : Sat Sep 18 2004 - 07:07:30 CEST