opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

[configgrpc] fix integer overflow in grpc server configuration

Open codeboten opened this issue 1 year ago • 2 comments
trafficstars

Change the value of max_recv_msg_size_mib from uint64 to int to avoid a case where misconfiguration caused an integer overflow. Added a Validate function to configgrpc as part of this to validate that users didn't set the value to something that would overflow when converted from megabytes to bytes.

codeboten avatar Aug 22 '24 18:08 codeboten