martin-g commented on code in PR #3375:
URL: https://github.com/apache/avro/pull/3375#discussion_r2454293037


##########
lang/c/src/value-json.c:
##########


Review Comment:
   I'm not sure whether this is a real use case:
   Is it possible someone to use a Bytes schema with an empty value, i.e. zero 
bytes ?!
   In this case `utf8_len` would be `0` and the malloc would return NULL and 
fail below with ENMEM.



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

Reply via email to