Skip to contentSkip to conversation

New: drmSLLookup() returns wrong value.

Bug 43288 [email protected] 1 participant 2 messages Nov 28, 2011 – Sep 24, 2019

lore
Share & tools
lore
#0 lore 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: [email protected]
ReportedBy: [email protected]

xf86drmSL.c +1 -1
index acddb54..1937507 100644
@@ -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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 43288] drmSLLookup() returns wrong value.

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

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #1 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/6.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel