Closed GoogleCodeExporter closed 9 years ago
Ok, I can reproduce the problem. Seems to occur with data size > 501 bytes.
Original comment by Petteri.Aimonen
on 17 Sep 2012 at 2:26
Ah, actually; the error was in my test program.
I had
uint8_t buffer[512];
size_t count = fread(buffer, 1, sizeof(buffer), stdin);
and the message was longer than 512 bytes.
Does your test program perhaps have the same bug?
Original comment by Petteri.Aimonen
on 17 Sep 2012 at 2:29
Yes! Thanks for your time.
Original comment by c4simba
on 18 Sep 2012 at 5:28
Nice that you got it working :)
I'll add a check to test_decode1.c, so that if anyone else uses it as a
starting point they won't have the same problem.
Original comment by Petteri.Aimonen
on 18 Sep 2012 at 1:52
This issue was updated by revision 3f563792adb8.
Original comment by Petteri.Aimonen
on 18 Sep 2012 at 1:53
Fixed in nanopb-0.1.7
Original comment by Petteri.Aimonen
on 12 Nov 2012 at 7:33
Original issue reported on code.google.com by
c4simba
on 17 Sep 2012 at 1:45