Merge "Fix to handle segv in impd_filter_banks_process" am: e5c5475c98 am: 060e1f9a11
Original change: 1425116
Change-Id: Ide76e7b6665f82c16d4df71c6c7db6c11cbd2d4c
This commit is contained in:
commit
3ed0b59dc6
1 changed files with 2 additions and 0 deletions
|
|
@ -231,6 +231,8 @@ WORD32 impd_dec_times(ia_bit_buf_struct* it_bit_buff,
|
|||
}
|
||||
}
|
||||
node_time_tmp = time_offs + time_delta * delta_tmin;
|
||||
if (node_time_tmp >= (2 * AUDIO_CODEC_FRAME_SIZE_MAX - drc_frame_size))
|
||||
return UNEXPECTED_ERROR;
|
||||
if (node_time_tmp > drc_frame_size + time_offset) {
|
||||
if (node_res_flag == 0) {
|
||||
str_node[k].time = drc_frame_size + time_offset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue