diff options
author | Felix Domke <tmbinc@elitedvb.net> | 2015-07-15 04:09:50 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2015-07-21 13:19:16 +0200 |
commit | 8a2e935cdb67ff93a0ec8382b41f173b216ca3b5 (patch) | |
tree | c5d36ea5d590e5f9d923d1b3a36c4c7f7a8ea9c4 /src/target/firmware/include/stdio.h | |
parent | fc20a37cb375dac11f45b78a446237c70f00841c (diff) |
layer1: fix chan_nr2mf_task_mask for TCH/H channel
"multiframe", the frame layout (used to compute neighbor
cell monitoring pattern) was uninitialized in TCH/H case.
This, in combination with gcc optimizing the
"switch(multiframe)"-statement into a LUT without bounds-
checking (since using an uninitialized value is undefined
behavior) caused neigh_task to be filled with an out-of-
bounds value, eventually crashing the TDMA scheduler.
Written-by: Felix Domke <tmbinc@elitedvb.net>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/include/stdio.h')
0 files changed, 0 insertions, 0 deletions