All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 43288] New: drmSLLookup() returns wrong value.
Date: Mon, 28 Nov 2011 06:31:56 +0000	[thread overview]
Message-ID: <bug-43288-502@http.bugs.freedesktop.org/> (raw)

https://bugs.freedesktop.org/show_bug.cgi?id=43288

             Bug #: 43288
           Summary: drmSLLookup() returns wrong value.
    Classification: Unclassified
           Product: DRI
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: medium
         Component: libdrm
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: boram1288.park@samsung.com


diff --git a/xf86drmSL.c b/xf86drmSL.c
index acddb54..1937507 100644
--- a/xf86drmSL.c
+++ b/xf86drmSL.c
@@ -252,7 +252,7 @@ int drmSLLookup(void *l, unsigned long key, void **value)
     entry = SLLocate(list, key, update);

     if (entry && entry->key == key) {
-       *value = entry;
+       *value = entry->value;
        return 0;
     }
     *value = NULL;

*value seems to be entry->value, not entry.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

             reply	other threads:[~2011-11-28  6:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28  6:31 bugzilla-daemon [this message]
2019-09-24 17:08 ` [Bug 43288] drmSLLookup() returns wrong value bugzilla-daemon

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=bug-43288-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.