Arthur Crepin-Leblond

Results 5 issues of Arthur Crepin-Leblond

**What version of protobuf and what language are you using?** Version: 4.21.2 Language: Python **What operating system (Linux, Windows, ...) and version?** ArchLinux **What runtime / compiler are you using...

bug
python

Following the discussion here https://github.com/fwup-home/fwup/issues/198. This PR handles out of bounds reads at most the available left bytes.

In `fwup_apply.c`: https://github.com/fwup-home/fwup/blob/c9918f7aa730d07a26a468ba1b1506fb6740b931/src/fwup_apply.c#L250 When xdelta tries to read a new block of 128KiB out of bound, shouldn't `count` be set to `fctx->xd_source_count - offset` instead of throwing an error? That...

It would be nice to be able to access properties of a model, especially enums. ``` class MySuperModel(Object): my_field: str = Property(String(enum=['foo', 'bar', 'baz]), required=True) possible_fields = MySuperModel.my_field.element.enum >>> ['foo',...

enhancement

It would be nice to be able to instantiate a model with some fields the same way a dataclass can be created and be able to use it to output...

enhancement