summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/prim_fbsb.c
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2015-07-15 04:09:50 +0200
committerSylvain Munaut <tnt@246tNt.com>2015-07-21 13:19:16 +0200
commit8a2e935cdb67ff93a0ec8382b41f173b216ca3b5 (patch)
treec5d36ea5d590e5f9d923d1b3a36c4c7f7a8ea9c4 /src/target/firmware/layer1/prim_fbsb.c
parentfc20a37cb375dac11f45b78a446237c70f00841c (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/layer1/prim_fbsb.c')
0 files changed, 0 insertions, 0 deletions