UMTS FP: fix an out of bounds access
Bug: 11602 Change-Id: I636a5494a0eda5895e856e80424be29f01c758bf Reviewed-on: https://code.wireshark.org/review/11117 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
c1cb26123d
commit
2ae329a47b
1 changed files with 1 additions and 1 deletions
|
@ -3164,7 +3164,7 @@ dissect_hsdsch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
|
||||||
|
|
||||||
/************************/
|
/************************/
|
||||||
/*Configure the pdus*/
|
/*Configure the pdus*/
|
||||||
for (i=0;i<number_of_pdus; i++) {
|
for (i=0;i<number_of_pdus && i<MIN(MAX_MAC_FRAMES, MAX_RLC_CHANS); i++) {
|
||||||
macinf->content[i] = hsdsch_macdflow_id_mac_content_map[p_fp_info->hsdsch_macflowd_id]; /*MAC_CONTENT_PS_DTCH;*/
|
macinf->content[i] = hsdsch_macdflow_id_mac_content_map[p_fp_info->hsdsch_macflowd_id]; /*MAC_CONTENT_PS_DTCH;*/
|
||||||
macinf->lchid[i] = fake_lchid_macd_flow[p_fp_info->hsdsch_macflowd_id];/*Faked logical channel id 255 used as a mark if it doesn't exist...*/
|
macinf->lchid[i] = fake_lchid_macd_flow[p_fp_info->hsdsch_macflowd_id];/*Faked logical channel id 255 used as a mark if it doesn't exist...*/
|
||||||
macinf->fake_chid[i] = TRUE; /**/
|
macinf->fake_chid[i] = TRUE; /**/
|
||||||
|
|
Loading…
Reference in a new issue