Not logged in
Check-in [2e51be8ec2]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a possible NULL pointer dereference in the "fusefs" implementation.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2e51be8ec2df7cdf0dee3b33b63c46c73dcec624
User & Date: drh 2014-06-27 23:19:57
Context
2014-06-29
06:39
Taking latest updates from trunk Leaf check-in: d9b35c294c user: urmil tags: urmil
2014-06-27
23:19
Fix a possible NULL pointer dereference in the "fusefs" implementation. Leaf check-in: 2e51be8ec2 user: drh tags: trunk
15:32
Add "server-id" printout to "fossil dbstat". Only print project-id if there is one. check-in: 88d503e15b user: jan.nijtmans tags: trunk
Changes

Changes to src/manifest.c.

1259
1260
1261
1262
1263
1264
1265

1266
1267
1268
1269
1270
1271
1272
      upr = i-1;
    }else{
      p->iFile = i;
      return &p->aFile[i];
    }
  }
  if( bBest ){

    i = (int)strlen(zName);
    if( strncmp(zName, p->aFile[lwr].zName, i)==0 ) return &p->aFile[lwr];
  }
  return 0;
}

/*







>







1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
      upr = i-1;
    }else{
      p->iFile = i;
      return &p->aFile[i];
    }
  }
  if( bBest ){
    if( lwr>=p->nFile ) lwr = p->nFile-1;
    i = (int)strlen(zName);
    if( strncmp(zName, p->aFile[lwr].zName, i)==0 ) return &p->aFile[lwr];
  }
  return 0;
}

/*