commit | 6b20e1fcdc2f9f5423e40166104b47ee13fb0e19 | [log] [tgz] |
---|---|---|
author | Steve Glass <smdg@hush.com> | Sat Feb 27 19:47:00 2016 +1000 |
committer | Steve Glass <smdg@hush.com> | Sat Feb 27 19:48:52 2016 +1000 |
tree | a6acae42d3930a300990cd5f4b13d15d53c97dd0 | |
parent | 64f73887b07551d9a603f920063af04263fb03a7 [diff] [blame] |
Fix buffer overrun/silence compiler warning
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc index cbb1481..f409d37 100644 --- a/lib/decoding/tch_f_decoder_impl.cc +++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -143,7 +143,7 @@ if (syndrome == 0) { - unsigned char outmsg[27]; + unsigned char outmsg[28]; unsigned char sbuf_len=224; int i, j, c, pos=0; for(i = 0; i < sbuf_len; i += 8) {