opentelemetry-collector
opentelemetry-collector copied to clipboard
[configgrpc] fix integer overflow in grpc server configuration
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.