Please do not reply to this email: if you want to comment on the bug, go to     
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2489          
     
           Summary: Invalid bound check of driver defined ioctls in
                    drm_ioctl
           Product: DRI
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DRM modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


--- drm_drv.c~  Mon Dec 13 11:17:28 2004
+++ drm_drv.c   Mon Dec 13 11:15:41 2004
@@ -595,7 +595,7 @@
        if (nr < DRIVER_IOCTL_COUNT)
                ioctl = &drm_ioctls[nr];
        else if ((nr >= DRM_COMMAND_BASE)
-                || (nr < DRM_COMMAND_BASE + dev->driver->num_ioctls))
+                && (nr < DRM_COMMAND_BASE + dev->driver->num_ioctls))
                ioctl = &dev->driver->ioctls[nr - DRM_COMMAND_BASE];
        else
                goto err_i1;          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to