From: "devendra.aaru" <devendra.aaru@gmail.com>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Dave Airlie <airlied@gmail.com>,
airlied@linux.ie, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: question about drivers/gpu/drm/drm_ioc32.c
Date: Mon, 30 Jan 2012 06:33:29 -0500 [thread overview]
Message-ID: <CAHdPZaM5XrTFHokscuxHMh=MXjBync4HnQUCGTCxP+W=9hAj=A@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1201301125270.1934@localhost6.localdomain6>
On Mon, Jan 30, 2012 at 5:28 AM, Julia Lawall <julia.lawall@lip6.fr> wrote:
> On Mon, 30 Jan 2012, Dave Airlie wrote:
>
>> On Sat, Jan 28, 2012 at 7:28 PM, Julia Lawall <julia.lawall@lip6.fr>
>> wrote:
>>>
>>> In the function compat_drm_getclient, I have the impression that the
>>> structure c32 is copied to user level with the field idx uninitialized?
>>
>>
>> Looks like it alright,
>>
>> care to send a patch?
>
>
> What should it be initialized to? The idx value that was got and put
> earlier?
>
> thanks,
> julia
>
There was again a variable in drm_client32_t struct, idx which was
uninitialised.
c32.idx = idx is ok?
Thanks,
Dev.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2012-01-30 11:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-28 19:28 question about drivers/gpu/drm/drm_ioc32.c Julia Lawall
2012-01-30 10:16 ` Dave Airlie
2012-01-30 10:28 ` Julia Lawall
2012-01-30 11:33 ` devendra.aaru [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHdPZaM5XrTFHokscuxHMh=MXjBync4HnQUCGTCxP+W=9hAj=A@mail.gmail.com' \
--to=devendra.aaru@gmail.com \
--cc=airlied@gmail.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=julia.lawall@lip6.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).