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.
https://bugs.freedesktop.org/show_bug.cgi?id=43288
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #1 from GitLab Migration User gitlab-migration@fdo.invalid --- -- 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.
dri-devel@lists.freedesktop.org