You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "martin-g (via GitHub)" <gi...@apache.org> on 2026/01/13 20:48:35 UTC
Re: [PR] [C] Fix negative length validation in binary decoding [avro]
martin-g commented on code in PR #3622:
URL: https://github.com/apache/avro/pull/3622#discussion_r2688074909
##########
lang/c/src/encoding_binary.c:
##########
Review Comment:
```suggestion
"Cannot read bytes length: ");
if (len < 0) {
avro_set_error("Invalid bytes length: %" PRId64, len);
return EINVAL;
}
```
##########
lang/c/src/encoding_binary.c:
##########
Review Comment:
I believe we have the same kind of problem here too
--
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: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org