Re: [RFC] drm + i915 DP MST code preview

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux