https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16771

--- Comment #2 from Chuck Craft <bubbas...@gmail.com> ---
pcap here:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16748

And resulting file names for tshark --export-objects:
tshark 3.0.12
-------------
 3_0_12/000453-1-C-STORE-RQ-DATA.dcm
 3_0_12/000925-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000561.dcm
 3_0_12/001393-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000562.dcm
 3_0_12/001860-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000563.dcm
 3_0_12/002328-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000564.dcm
 3_0_12/002799-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000565.dcm
 3_0_12/003267-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000566.dcm
 3_0_12/003736-1-1.3.12.2.1107.5.1.7.123018.30000018120316022692800000567.dcm

        filename = wmem_strdup_printf(wmem_packet_scope(), "%06d-%d-%s.dcm",
pinfo->num, cnt_same_pkt,
            g_strcanon(pdv_curr->sop_instance_uid, G_CSET_A_2_Z G_CSET_a_2_z
G_CSET_DIGITS "-.", '-'));

tshark 3.2.6
------------
 3_2_6/000453-1-C-STORE-RQ-DATA.dcm
 3_2_6/000925-1-CT-Image-Storage.dcm
 3_2_6/001393-1-CT-Image-Storage.dcm
 3_2_6/001860-1-CT-Image-Storage.dcm
 3_2_6/002328-1-CT-Image-Storage.dcm
 3_2_6/002799-1-CT-Image-Storage.dcm
 3_2_6/003267-1-CT-Image-Storage.dcm
 3_2_6/003736-1-CT-Image-Storage.dcm

         /* Make sure filename does not contain invalid character. Rather
conservative.*/
         filename = wmem_strdup_printf(wmem_packet_scope(), "%06d-%d-%s.dcm",
pinfo->num, cnt_same_pkt,
             g_strcanon(pdv->desc, G_CSET_A_2_Z G_CSET_a_2_z G_CSET_DIGITS
"-.", '-'));

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to