We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db00f68 commit cb90a6fCopy full SHA for cb90a6f
src/Io/ChunkedDecoder.php
@@ -123,7 +123,7 @@ public function handleData($data)
123
}
124
125
$this->chunkSize = @\hexdec($hexValue);
126
- if (\dechex($this->chunkSize) !== $hexValue) {
+ if (!\is_int($this->chunkSize) || \dechex($this->chunkSize) !== $hexValue) {
127
$this->handleError(new Exception($hexValue . ' is not a valid hexadecimal number'));
128
return;
129
0 commit comments