All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 43288] New: drmSLLookup() returns wrong value.
@ 2011-11-28  6:31 bugzilla-daemon
  2019-09-24 17:08 ` [Bug 43288] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2011-11-28  6:31 UTC (permalink / raw)
  To: dri-devel

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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-24 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28  6:31 [Bug 43288] New: drmSLLookup() returns wrong value bugzilla-daemon
2019-09-24 17:08 ` [Bug 43288] " bugzilla-daemon

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.