Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 165947
Collapse All | Expand All

(-)src-native/collection/framework/RASharedMemory/ossramboflush.cpp (-1 / +1 lines)
Lines 288-294 Link Here
288
      /* If the whole record doesn't fit in this buffer then allocate a temporary
288
      /* If the whole record doesn't fit in this buffer then allocate a temporary
289
         buffer for the record and copy the part that is included in this buffer
289
         buffer for the record and copy the part that is included in this buffer
290
         into the temp bufer*/
290
         into the temp bufer*/
291
      if (offset + OSS_RAMBO_DATA_HEADER_SIZE + recordLength >= dataLength) {
291
      if (offset + OSS_RAMBO_DATA_HEADER_SIZE + recordLength > dataLength) {
292
		
292
		
293
         continueDataSize = offset + OSS_RAMBO_DATA_HEADER_SIZE + recordLength - dataLength;
293
         continueDataSize = offset + OSS_RAMBO_DATA_HEADER_SIZE + recordLength - dataLength;
294
		   bFlushLen = dataLength - offset;
294
		   bFlushLen = dataLength - offset;

Return to bug 165947