Skip to content

Bug: When use gzip and call with MaxCallRecvMsgSize(math.MaxInt64), will read 0 byte. #6119

Closed as not planned
@catundercar

Description

@catundercar

NOTE: if you are reporting is a potential security vulnerability or a crash,
please follow our CVE process at
https://github.com/grpc/proposal/blob/master/P4-grpc-cve-process.md instead of
filing an issue here.

Please see the FAQ in our main README.md, then answer the questions below
before submitting your issue.

What version of gRPC are you using?

master

What version of Go are you using (go version)?

1.19.2

What operating system (Linux, Windows, …) and version?

Linux

What did you do?

If possible, provide a recipe for reproducing the error.
like this demo:
https://github.com/grpc/grpc-go/tree/master/examples/features/compression
I called with grpc.MaxCallRecvMsgSize(math.MaxInt64)
And then, I got this result:

UnaryEcho call returned "", <nil>

The response message was "".

What did you expect to see?

UnaryEcho call returned "compress", <nil>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions