Wireshark-commits: [Wireshark-commits] master-3.0 3daf70d: ieee802154: fix compilation with gcc-4.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3daf70d7c552636a3005a0293894de7b87a876bf
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
3daf70d by Dario Lombardo (lomato@xxxxxxxxx):
ieee802154: fix compilation with gcc-4.
Error:
../epan/dissectors/packet-ieee802154.c: In function 'dissect_ieee802154_header_ie':
../epan/dissectors/packet-ieee802154.c:3788:10: error: variable 'remaining' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
gint remaining = tvb_reported_length_remaining(tvb, offset) - IEEE802154_MIC_LENGTH(packet->security_level);
^
Change-Id: I6dadaa9e502f8f38bf476b690395727c836172fd
Reviewed-on: https://code.wireshark.org/review/32283
Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 349735613dc3e02340dc73a1dd5397310c4552c5)
Reviewed-on: https://code.wireshark.org/review/32329
Actions performed:
from b335bae Put a fake "FCS OK" value into the tree if we don't have FCS information.
add 3daf70d ieee802154: fix compilation with gcc-4.
Summary of changes:
epan/dissectors/packet-ieee802154.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)