...
|
...
|
@@ -1,7 +1,7 @@
|
1
|
1
|
/*
|
2
|
2
|
* Extract component parts of OLE2 files (e.g. MS Office Documents)
|
3
|
3
|
*
|
4
|
|
- * Copyright (C) 2015 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
|
|
4
|
+ * Copyright (C) 2015, 2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
|
5
|
5
|
* Copyright (C) 2007-2013 Sourcefire, Inc.
|
6
|
6
|
*
|
7
|
7
|
* Authors: Trog
|
...
|
...
|
@@ -978,7 +978,7 @@ handler_enum(ole2_header_t * hdr, property_t * prop, const char *dir, cli_ctx *
|
978
|
978
|
|
979
|
979
|
/* reading safety checks; do-while used for breaks */
|
980
|
980
|
do {
|
981
|
|
- if ((prop->start_block < 0) && (prop->size <= 0))
|
|
981
|
+ if (prop->size == 0)
|
982
|
982
|
break;
|
983
|
983
|
|
984
|
984
|
if (prop->start_block > (int32_t) hdr->max_block_no)
|