URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5fc74724a1695d5a5001b965c56a052fb89a0fca
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark
Commits:
5fc7472 by Guy Harris (guy@xxxxxxxxxxxx):
Don't handle various "command to send" values in the default case.
The default case ignores the high-order bit, which is set in all the
values for "command to send", so they will never be matched. The values
moved out of the default case, if their upper bit is clear, either don't
correspond to any command in T.30 or correspond to an initial
identification command, which never has the upper bit set, so there's no
risk of misidentification by processing all of the "command to send"
values outside the default case.
Thanks and a tip of the Hatlo hat to Visual Studio Code Analysis for
catching this one.
Change-Id: I6192b0c5a6dcfd31b9fd757be736a311a9d089e6
Reviewed-on: https://code.wireshark.org/review/26198
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit efd8beff4f9a6b39a7b43b18716bceb4a9f07e1f)
Reviewed-on: https://code.wireshark.org/review/26199
Actions performed:
from 725af9c BGP: Heuristic for IPv6 NLRI path identifier
adds 5fc7472 Don't handle various "command to send" values in the default case.
Summary of changes:
epan/dissectors/packet-t30.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)