Skip to content
Snippets Groups Projects
Commit 89f3ed77 authored by Jared Hancock's avatar Jared Hancock
Browse files

tnef: Avoid crash processing CLSID property type

parent 8c641efd
No related branches found
No related tags found
No related merge requests found
...@@ -345,7 +345,14 @@ class TnefAttributeStreamReader extends TnefStreamReader { ...@@ -345,7 +345,14 @@ class TnefAttributeStreamReader extends TnefStreamReader {
} }
return $text; return $text;
case self::TypeCLSID:
return $this->_getx(16);
default:
throw new TnefException(sprintf('0x%04x: Bad data type', $type));
} }
} }
function next() { function next() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment