Mouse

Results 586 comments of Mouse

I think your code is buggy. One of the problems it has is that the upper limit on the octet string size is 81920, while your `test_01.png` size is 831368....

> What version of the asn1c are you using? As I said - I'm using my fork https://github.com/mouse07410/asn1c.git of this repo. As I said, the main difference is that my...

> I tested another file same size as bad_data.bin which works fine in all scenarios. Interesting. ``` $ ./t assets/bad_data.bin Failed to decode object from assets/bad_data.bin ``` I notice that...

## Update I'm not sure where to dig. ~~I suspect that the fault is likely to be with your code, specifically with how it encodes and decodes binary data... Some...

## Update2 To alleviate any possibility of my (or @xeirwn 's) code being the culprit, I've created a clean DER-encoded file. @vlm, please step in. ### Scenario 1. Get a...

I am getting more and more confused. I wrote a small program to encode and decode a similar PDU (except for the same of simplicity I set upper limit to...

I also found that when I define the upper limit for the OCTET STRING in the ballpark of `70000`+, PER encoding seems to succeed but the decoding fails. Here's the...

Appears fixed in my fork (thanks, @velichkov). @xeirwn feel free to test.

I'd also like to see this becoming a printer-friendly solution - not only the on-screen anchor, but per-printed-page anchors (header and footer).