Skip to content

Commit

Permalink
tnef: Avoid crash processing CLSID property type
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Hancock committed May 13, 2015
1 parent 30738f9 commit 85053e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/tnef_decoder.php
Expand Up @@ -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() {
Expand Down

0 comments on commit 85053e8

Please sign in to comment.