Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ int double_cmp(const void *a, const void *b);

static char *sqlite3StrDup( const char *z ) {
char *res = sqlite3_malloc( (int) (strlen(z)+1) );
return strcpy( res, z );
return res ? strcpy( res, z ) : NULL;
}

/*
Expand Down