We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a35657 commit 213b148Copy full SHA for 213b148
1 file changed
view/sharedcache/core/Utility.cpp
@@ -39,6 +39,9 @@ int64_t readSLEB128(const uint8_t*& current, const uint8_t* end)
39
40
uint64_t readLEB128(const uint8_t*& current, const uint8_t* end)
41
{
42
+ if (current == nullptr)
43
+ return -1;
44
+
45
uint64_t result = 0;
46
int bit = 0;
47
do
0 commit comments