summaryrefslogtreecommitdiffstats
path: root/src/ole.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-08-22 19:37:39 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-08-22 19:37:39 +0200
commit4ad1703dd33ba37e94086abd8cf3725d29038d02 (patch)
tree31aee83d603bbbf8f26ada0701ba4c9351d58548 /src/ole.h
parentd17a32c23afd980c4138286abb456df1b51c75f2 (diff)
PhotoRec: get the extension from name listed in OLE root directory
Diffstat (limited to 'src/ole.h')
-rw-r--r--src/ole.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ole.h b/src/ole.h
index 176f82e..a7811ca 100644
--- a/src/ole.h
+++ b/src/ole.h
@@ -64,7 +64,7 @@ struct OLE_DIR
char bflags; // 67: 0 or 1
uint32_t prev_dirent; // 68
uint32_t next_dirent; // 72
- uint32_t dir_dirent; // 76
+ uint32_t sidChild; // 76
char clsid[16]; // 80
uint32_t userFlags; // 96
int32_t secs1; // 100
@@ -74,6 +74,7 @@ struct OLE_DIR
uint32_t start_block; // 116 starting SECT of stream
uint32_t size; // 120
int16_t reserved; // 124 must be 0
+ int16_t padding; // 126 must be 0
} __attribute__ ((__packed__));
struct DIRECTORY