From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [RFC] drm + i915 DP MST code preview Date: Thu, 8 May 2014 08:24:02 +0100 Message-ID: <20140508072402.GB20315@nuc-i3427.alporthouse.com> References: <1399005585-2396-1-git-send-email-airlied@gmail.com> <20140502085206.GB21695@nuc-i3427.alporthouse.com> <20140503090028.GB9420@nuc-i3427.alporthouse.com> <5369DDD5.5010906@nvidia.com> <20140507080734.GR5730@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B2496E5DB for ; Thu, 8 May 2014 00:24:06 -0700 (PDT) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Dave Airlie Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org On Thu, May 08, 2014 at 11:56:02AM +1000, Dave Airlie wrote: > I've pushed a branch of -modesetting to > > http://cgit.freedesktop.org/~airlied/xf86-video-modesetting/log/?h=dp-mst In parse_path_blob(): char conn_id[5]; len = conn - (blob_data + 4); if (len + 1> 5) return -1; memcpy(conn_id, blob_data + 4, len); conn_id[len + 1] = '\0'; ^^^^^^^ should just be len. -Chris -- Chris Wilson, Intel Open Source Technology Centre