Bump matter registry limit to 64 MiB
This commit is contained in:
parent
6acee0de08
commit
f214682074
@ -1828,7 +1828,7 @@ object MatterManager {
|
|||||||
} else {
|
} else {
|
||||||
spliced.writeBytes(buffer, 0, inflated)
|
spliced.writeBytes(buffer, 0, inflated)
|
||||||
|
|
||||||
if (spliced.writerIndex() >= 1 shl 24 /* 16 MiB */) {
|
if (spliced.writerIndex() >= 1 shl 26 /* 64 MiB */) {
|
||||||
throw IndexOutOfBoundsException("Pipe Bomb")
|
throw IndexOutOfBoundsException("Pipe Bomb")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user