[Nouveau] [libdrm PATCH RFC] nouveau: zero structs passed to ioctl
Alexey Dobriyan
adobriyan at gmail.com
Tue Jan 12 07:21:51 PST 2010
On Tue, Jan 12, 2010 at 4:37 PM, Marcin Slusarz
<marcin.slusarz at gmail.com> wrote:
> Subject: [libdrm PATCH] nouveau: zero structs passed to ioctl
Why?
Any specific bug?
> --- a/nouveau/nouveau_bo.c
> +++ b/nouveau/nouveau_bo.c
> + memset(&req, 0, sizeof(req));
> req.handle = nvbo->handle;
> nvbo->handle = 0;
> drmIoctl(nvdev->fd, DRM_IOCTL_GEM_CLOSE, &req);
More information about the Nouveau
mailing list