Skip to content

Commit

Permalink
[MINOR UPDATE] update to netty 4.1.109 due to CVE-2024-29025 (apache#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning authored Apr 22, 2024
1 parent d9549bb commit c4c0b28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public InnerAllocator() {
e);
}

this.chunkSize = directArenas[0].chunkSize;
this.chunkSize = directArenas[0].sizeClass.chunkSize;

if (memoryLogger.isTraceEnabled()) {
statusThread = new MemoryStatusThread();
Expand Down Expand Up @@ -166,7 +166,7 @@ private UnsafeDirectLittleEndian newDirectBufferL(int initialCapacity, int maxCa

if (directArena != null) {

if (initialCapacity > directArena.chunkSize) {
if (initialCapacity > directArena.sizeClass.chunkSize) {
// This is beyond chunk size so we'll allocate separately.
ByteBuf buf = UnpooledByteBufAllocator.DEFAULT
.directBuffer(initialCapacity, maxCapacity);
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
<mongo.version>4.11.1</mongo.version>
<msgpack.version>0.6.6</msgpack.version>
<netty.tcnative.classifier />
<netty.tcnative.version>2.0.62.Final</netty.tcnative.version>
<netty.version>4.1.101.Final</netty.version>
<netty.tcnative.version>2.0.65.Final</netty.tcnative.version>
<netty.version>4.1.109.Final</netty.version>
<parquet.format.version>2.9.0</parquet.format.version>
<parquet.version>1.12.3</parquet.version>
<project.build.outputTimestamp>1676438963</project.build.outputTimestamp>
Expand Down

0 comments on commit c4c0b28

Please sign in to comment.