From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 43288] New: drmSLLookup() returns wrong value.
Date: Mon, 28 Nov 2011 06:31:56 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 762B29E7E7
for ;
Sun, 27 Nov 2011 22:31:57 -0800 (PST)
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
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.