Ignore:
Timestamp:
Jul 17, 2015, 4:34:55 PM (9 years ago)
Author:
guerin
Message:

fat32: fix potential dir entry overwrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_fat32/fat32.c

    r625 r626  
    20022002    unsigned char*     buffer;   
    20032003    unsigned int       cluster_id = inode->dentry>>7;
    2004     unsigned int       offset     = (inode->dentry & 0x3F)<<5;
     2004    unsigned int       offset     = (inode->dentry & 0x7F)<<5;
    20052005
    20062006    if ( _get_buffer_from_cache( inode->parent,
Note: See TracChangeset for help on using the changeset viewer.