commit | a659f4827eb3f78815c56ea1ca8b311d4e764b00 | [log] [tgz] |
---|---|---|
author | Andreas Eversberg <jolly@eversberg.eu> | Wed Jan 18 19:07:30 2012 +0100 |
committer | Andreas Eversberg <jolly@eversberg.eu> | Wed Jan 18 19:07:30 2012 +0100 |
tree | ce723be88ca8a4493c4d9863bab9fb5e7a197fdd | |
parent | 4308667a25f67469924050114ab3d4b53960a72b [diff] |
Fixed TRAU frame handling of packet lengths that are not a multiple of 4
diff --git a/src/subchan_demux.c b/src/subchan_demux.c index 41fe1d2..8613c17 100644 --- a/src/subchan_demux.c +++ b/src/subchan_demux.c
@@ -102,10 +102,6 @@ { int i, c; - /* we avoid partially filled bytes in outbuf */ - if (len % 4) - return -EINVAL; - for (i = 0; i < len; i++) { uint8_t inbyte = data[i];