Wireshark-bugs: [Wireshark-bugs] [Bug 11443] tshark crash when specifying ssl.keys_list on cli
Date: Thu, 27 Aug 2015 12:08:08 +0000

changed bug 11443


What Removed Added
Status UNCONFIRMED CONFIRMED
Ever confirmed   1

Comment # 5 on bug 11443 from
Finally, I can confirm it with v1.12.8rc0-13-gb19b729

epan/proto.c:5712:36: runtime error: left shift of 1 by 31 places cannot be
represented in type 'int'
    #0 0x7fa734e7c11d in proto_register_subtree_array epan/proto.c:5712:34
    #1 0x7fa734bfdaa1 in expert_packet_init epan/expert.c:134:3
    #2 0x7fa734bec66b in epan_init epan/epan.c:127:2
    #3 0x50c1b8 in main tshark.c:1179:3
    #4 0x7fa72ad0d60f in __libc_start_main (/usr/lib/libc.so.6+0x2060f)
    #5 0x43e098 in _start (/tmp/wsbuild/run/tshark+0x43e098)

SUMMARY: AddressSanitizer: undefined-behavior epan/proto.c:5712
=================================================================
==9699==ERROR: AddressSanitizer: attempting free on address which was not
malloc()-ed: 0x7fa721d710d8 in thread T0
    #0 0x4c4d82 in free (/tmp/wsbuild/run/tshark+0x4c4d82)
    #1 0x7fa73b71fdd9 in ssl_parse_old_keys epan/dissectors/packet-ssl.c:413:17
    #2 0x7fa73b714ddd in proto_reg_handoff_ssl
epan/dissectors/packet-ssl.c:4878:5
    #3 0x7fa734d5a9d7 in call_apply_cb epan/prefs.c:684:13
    #4 0x7fa73538f2b2 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:643:25
    #5 0x7fa73538e5fe in wmem_tree_foreach epan/wmem/wmem_tree.c:666:12
    #6 0x7fa73538f0c2 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:640:25
    #7 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #8 0x7fa73538ed3d in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:634:13
    #9 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #10 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #11 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #12 0x7fa73538ed3d in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:634:13
    #13 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #14 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #15 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #16 0x7fa73538f680 in wmem_tree_foreach_nodes epan/wmem/wmem_tree.c:651:13
    #17 0x7fa73538e5fe in wmem_tree_foreach epan/wmem/wmem_tree.c:666:12
    #18 0x7fa734d5a2ae in prefs_apply_all epan/prefs.c:699:5
    #19 0x513505 in main tshark.c:1955:3
    #20 0x7fa72ad0d60f in __libc_start_main (/usr/lib/libc.so.6+0x2060f)
    #21 0x43e098 in _start (/tmp/wsbuild/run/tshark+0x43e098)

AddressSanitizer can not describe address in more detail (wild memory access
suspected).
SUMMARY: AddressSanitizer: bad-free ??:0 free
==9699==ABORTING
Aborted


You are receiving this mail because:
  • You are watching all bug changes.