fallintoplace opened a new pull request, #1609:
URL: https://github.com/apache/iceberg-go/pull/1609

   ## What changed
   
   Fully decode top-level boolean expressions before returning `AlwaysTrue` or 
`AlwaysFalse`. This rejects malformed input containing a valid boolean followed 
by additional JSON or other trailing data.
   
   ## Why
   
   The expression decoder previously inspected only the first token for 
booleans. Inputs such as `true false` were therefore accepted even though they 
are not valid JSON values. Object expressions already reject trailing data 
through `json.Unmarshal`.
   
   ## Testing
   
   - `go test ./...`


-- 
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]

Reply via email to