summaryrefslogtreecommitdiffstats
path: root/src/ole.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-06-27 08:56:19 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-06-27 08:56:19 +0200
commit9fcfd1910fe016af76b66178d8004816aebb4ec8 (patch)
treea6303edfc5a7fb9215089dab472c445a45319993 /src/ole.h
parent80bb3584c5132fc22539511d991d0b6246c1d50c (diff)
PhotoRec: update csectDir checks
Diffstat (limited to 'src/ole.h')
-rw-r--r--src/ole.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ole.h b/src/ole.h
index a7811ca..5f12569 100644
--- a/src/ole.h
+++ b/src/ole.h
@@ -35,8 +35,8 @@
struct OLE_HDR
{
- char magic[8]; /*0*/
- char clsid[16]; /*8*/
+ char magic[8]; /*0*/
+ char clsid[16]; /*8*/
uint16_t uMinorVersion; /*24*/
uint16_t uDllVersion; /*26*/
uint16_t uByteOrder; /*28*/
@@ -44,12 +44,12 @@ struct OLE_HDR
uint16_t uMiniSectorShift; /*32*/
uint16_t reserved; /*34*/
uint32_t reserved1; /*36*/
- uint32_t reserved2; /*40*/
+ uint32_t csectDir; /*40 Number of sectors in directory chains for 4KB sectors */
uint32_t num_FAT_blocks; /*44*/
uint32_t root_start_block; /*48*/
uint32_t dfsignature; /*52*/
uint32_t miniSectorCutoff; /*56*/
- uint32_t dir_flag; /*60 first sec in the mini fat chain*/
+ uint32_t MiniFat_block; /*60 first sec in the mini fat chain*/
uint32_t csectMiniFat; /*64 number of sectors in the minifat */
uint32_t FAT_next_block; /*68*/
uint32_t num_extra_FAT_blocks; /*72*/