Permalink
Browse files

tnef: Avoid crash processing CLSID property type

  • Loading branch information...
1 parent 8c641ef commit 89f3ed77f7d220b8ea61a7af787d0337bc35ba48 @greezybacon greezybacon committed Apr 11, 2015
Showing with 7 additions and 0 deletions.
  1. +7 −0 include/tnef_decoder.php
@@ -345,7 +345,14 @@ protected function readPhpValue($type) {
}
return $text;
+
+ case self::TypeCLSID:
+ return $this->_getx(16);
+
+ default:
+ throw new TnefException(sprintf('0x%04x: Bad data type', $type));
}
+
}
function next() {

0 comments on commit 89f3ed7

Please sign in to comment.