rem: strncpy(nsConn->ctx->dbtype, identstr, typelen);
add: strncpy(nsConn->ctx->dbtype, identstr, (size_t)typelen);
context: ExtDbType(Ns_DbHandle *handle){    NsExtConn *nsConn;    char      *identstr, *firstDelim;    int        typelen;    assert(handle != NULL);    nsConn = handle->connection;    Ns_MutexLock(&nsConn->ctx->muIdent);    identstr = nsConn->ctx->ident;    firstDelim = strchr(identstr, ' ');    typelen = firstDelim == NULL ? strlen(identstr) : firstDelim - identstr;    if (typelen >= MAX_DBTYPE) {        typelen = MAX_DBTYPE - 1;    }    strncpy(nsConn->ctx->dbtype, identstr, typelen);    Ns_MutexUnlock(&nsConn->ctx->muIdent);    nsConn->ctx->dbtype[typelen] = '\0';    return nsConn->ctx->dbtype;}