[PATCH libdrm] xf86drm: fix null termination of string buffer

Taro Yamada archer_ame at yahoo.co.jp
Wed Dec 14 07:22:30 UTC 2016


On 12/14/2016 12:23 PM, Emil Velikov wrote:
> Did you see this causing issues in practise ?
>
> We use a combination of strstr to strip any unwanted starting data,
> and sscanf which [should] trim any trailing garbage.
> That aside, your patch provides an extra bit of robustness which is
> always nice ^_^
No, I've not encountering any problem in practice.
I completely agree with you.

> Barring any objections I'll commit this in a few days.
Thank you for your prompt reply!



More information about the dri-devel mailing list