Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
wireshark
wireshark
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,305
    • Issues 1,305
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 80
    • Merge Requests 80
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Wireshark Foundation
  • wiresharkwireshark
  • Issues
  • #16984

Closed
Open
Opened Nov 03, 2020 by lynxis lazus@lynxisContributor

Crash when a GIOP ior.txt file is present

Summary

wireshark crashs after adding an ior.txt for GIOP.

Steps to reproduce

  1. open a pcap with GIOP 1.2 data
  2. add a ior.txt to GIOP preference (/tmp/ior.txt).
  3. it crashs.

What is the current bug behavior?

Crashs

What is the expected correct behavior?

Proper decoding

Sample capture file

I can share it on request.

Relevant logs and/or screenshots

#0  0x00007fffef374615 in raise () at /usr/lib/libc.so.6
#1  0x00007fffef35d862 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff047a084 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff04d460d in g_assertion_message_expr () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff3fff5a5 in wmem_alloc (allocator=<optimized out>, size=<optimized out>) at ../epan/wmem/wmem_core.c:38
#5  0x00007ffff3fff5ca in wmem_alloc0 (allocator=<optimized out>, size=size@entry=601) at ../epan/wmem/wmem_core.c:52
#6  0x00007ffff336342b in read_IOR_strings_from_file (max_iorlen=600, name=0x7fffb4108f80 "/tmp/ior.txt") at ../epan/dissectors/packet-giop.c:1545
#7  giop_init () at ../epan/dissectors/packet-giop.c:1592
#8  0x00007ffff04cb7c8 in g_slist_foreach () at /usr/lib/libglib-2.0.so.0
#9  0x00007ffff4063dd8 in init_dissection () at ../epan/packet.c:328
#10 0x00007ffff4058670 in epan_new (prov=prov@entry=0x555555df7ad8 <cfile+248>, funcs=funcs@entry=0x555555defce0 <funcs>) at ../epan/epan.c:419
#11 0x0000555555a356d1 in ws_epan_new (cf=0x555555df79e0 <cfile>) at ../file.c:307
#12 cf_open (cf=0x555555df79e0 <cfile>, fname=fname@entry=0x555558322cc8 "/tmp/ssh.pcap", type=type@entry=0, is_tempfile=is_tempfile@entry=0, err=err@entry=0x7fffffffdb04) at ../file.c:307
#13 0x00005555557fd0ae in MainWindow::openCaptureFile(QString, QString, unsigned int, int) (this=0x555555ef0320, cf_path=..., read_filter=..., type=<optimized out>, is_tempfile=0) at /usr/include/qt/QtCore/qarraydata.h:61
#14 0x000055555564ec82 in main(int, char**) (argc=<optimized out>, qt_argv=<optimized out>) at /usr/include/qt/QtCore/qstring.h:1089

Build information

Version 3.3.2 (v3.3.2rc0-115-g5b8a54ab)

Edited Dec 07, 2020 by Gerald Combs
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: wireshark/wireshark#16984