]> git.pld-linux.org Git - packages/X11-driver-firegl.git/blob - X11-driver-firegl-verify_area.patch
- up to 8.19.10
[packages/X11-driver-firegl.git] / X11-driver-firegl-verify_area.patch
1 --- X11-driver-firegl-8.16.20/lib/modules/fglrx/build_mod/firegl_public.c.orig  2005-11-02 20:29:43.535048712 -0800
2 +++ X11-driver-firegl-8.16.20/lib/modules/fglrx/build_mod/firegl_public.c       2005-11-02 20:27:19.013019400 -0800
3 @@ -1475,7 +1485,7 @@ int ATI_API_CALL __ke_copy_to_user(void*
4  
5  int ATI_API_CALL __ke_verify_area(int type, const void * addr, unsigned long size)
6  {
7 -    return verify_area(type, addr, size);
8 +    return (access_ok(type, addr, size) ? 0 : -EFAULT);
9  }
10  
11  int ATI_API_CALL __ke_get_pci_device_info(__ke_pci_dev_t* dev, __ke_pci_device_info_t *pinfo)
This page took 0.359919 seconds and 3 git commands to generate.