Closed sashaweiss-signal closed 1 month ago
@dnkoutso I'll leave it to you for final merge
@sashaweiss-signal Could you please sign our cla so that I can merge the PR?
@oldergod just signed the CLA. Please let me know if there's anything else I should do.
(Also, what's the release schedule for this package? Wondering when this fix will be available upstream for us to consume officially.)
Thanks again!
I can take this branch and run it as a test in our large internal monorepo as an extra step of precaution.
The change LGTM.
As reported in https://github.com/square/wire/issues/3043, parsing an empty
repeated uint64 [packed=true]
(or other fixed-length types) currently results in afatalError
.This change adds a check for zero length when parsing such
repeated ... [packed=true]
fields to avoid thefatalError
. The first commit adds two unit tests that demonstrate the issue, and the second commit resolves the issue.