Code

frontend: Fix invalid command handling when receiving data in chunks.
authorSebastian Harl <sh@tokkee.org>
Wed, 14 May 2014 18:38:17 +0000 (20:38 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 14 May 2014 18:38:17 +0000 (20:38 +0200)
When skipping over invalid command data, make sure not to skip more data than
what's currently available. Rather, remember how much data needs to be ignored
and do so after actually receiving it.

Added a new test which catches these cases and also provides some more
low-level communication tests.


No differences found