I'm running my program under Clang 3.3 and its address sanitzers
(-fsanitze=address).

I noticed there's a persistent memory issue flagged in sqlite3.c:

    sqlite3.c:60249:22: runtime error: member access within
        null pointer of type 'Mem' (aka 'struct Mem')

60249 is shown below, and the line is the `memcpy`:

SQLITE_PRIVATE void sqlite3VdbeMemShallowCopy(Mem *pTo, const Mem
*pFrom, int srcType){
  assert( (pFrom->flags & MEM_RowSet)==0 );
  VdbeMemRelease(pTo);
  memcpy(pTo, pFrom, MEMCELLSIZE);
  pTo->xDel = 0;
  if( (pFrom->flags&MEM_Static)==0 ){
    pTo->flags &= ~(MEM_Dyn|MEM_Static|MEM_Ephem);
    assert( srcType==MEM_Ephem || srcType==MEM_Static );
    pTo->flags |= srcType;
  }
}

I'm working from sqlite-amalgamation-3080200.zip.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to