Skip to content

Commit 29b102c

Browse files
makasimbwplotka
andcommitted
Update exp/api/remote/remote_api.go
Co-authored-by: Bartlomiej Plotka <[email protected]> Signed-off-by: Max Kotliar <[email protected]>
1 parent 0ca0e64 commit 29b102c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exp/api/remote/remote_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ func WithWriteHandlerMiddlewares(middlewares ...func(http.Handler) http.Handler)
448448
}
449449
}
450450

451-
// maxDecodedSize limits the maximum allowed size of decompressed snappy payloads.
451+
// maxDecodedSize limits the maximum allowed bytes of decompressed snappy payloads.
452452
// This protects against maliciously crafted payloads that could cause excessive memory
453453
// allocation and potentially lead to out-of-memory (OOM) conditions.
454454
// All usual payloads should be much smaller than this limit and pass without any problems.

0 commit comments

Comments
 (0)