memcpy(p, &mEntry->name, len);
memcpy(p, mEntry->name, len);
InterfaceInfoImpl::GetName(char** name){    nsIAllocator* allocator;    NS_PRECONDITION(name, "bad param");    if(GetAllocator(&allocator))    {        int len = strlen(mEntry->name)+1;        char* p = (char*)allocator->Alloc(len);        ReleaseAllocator(&allocator);        if(p)        {            memcpy(p, &mEntry->name, len);            *name = p;            return NS_OK;        }    }        *name = NULL;    return NS_ERROR_FAILURE;}        