Ignore:
Timestamp:
02/09/08 15:00:12 (5 years ago)
Author:
BrainSlayer
Message:

kernel update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/ar531x/linux-2.6.24/fs/splice.c

    r8935 r8972  
    11851185        int partial; 
    11861186 
     1187        if (!access_ok(VERIFY_READ, src, n)) 
     1188                return -EFAULT; 
     1189 
    11871190        pagefault_disable(); 
    11881191        partial = __copy_from_user_inatomic(dst, src, n); 
     
    13891392                        break; 
    13901393                if (unlikely(!base)) { 
     1394                        error = -EFAULT; 
     1395                        break; 
     1396                } 
     1397 
     1398                if (unlikely(!access_ok(VERIFY_WRITE, base, len))) { 
    13911399                        error = -EFAULT; 
    13921400                        break; 
Note: See TracChangeset for help on using the changeset viewer.