[Bug 43288] New: drmSLLookup() returns wrong value.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
        ReportedBy: boram1288.park@xxxxxxxxxxx


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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux