fallintoplace opened a new pull request, #1723: URL: https://github.com/apache/iceberg-go/pull/1723
## Summary\n\nBoolLiteral.MarshalBinary returned package-level mutable byte arrays. A caller could mutate the returned slice and change future boolean serialization. Return a fresh one-byte slice for each call and cover both boolean values with a regression test.\n\n## Testing\n\n- go test . -run TestBoolLiteralMarshalBinaryReturnsIndependentBytes -count=1\n- go list ./... | rg -v io/gocloud | xargs go test -count=1\n- go test ./io/gocloud -run ^$ -count=1 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
