Fossil

Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 516057088af23406aae56f0779cdab5320c55228
Ticket: e0ef6390ff5992f109a0cc4e568c1363bffb3835
Bug in blob_seek
User & Date: anonymous 2011-01-11 09:44:23
Changes

  1. comment changed to:
    The blob_seek function has the following
    
    <pre>
    if( p->iCursor<0 ){
        p->iCursor = 0;
      }
    </pre>
    
    But iCursor is an unsigned integer and will never go bellow 0, therefore this code does nothing. If iCursor is decremented past 0 it will go to a very high number.
    
    I guess I'm being pedantic, but if you took the trouble to write the code I suppose you must have thought it important to guard against this.
    
  2. severity changed to: "Minor"
  3. status changed to: "Open"
  4. title changed to: "Bug in blob_seek"
  5. type changed to: "Code_Defect"