ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 2880] Tshark - decimal symbol

Date: Mon, 12 Apr 2010 11:34:40 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2880

Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff.morriss.ws@xxxxxxxxx

--- Comment #2 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2010-04-12 11:34:38 PDT ---
tap-iostat's sscanf:

        if(sscanf(optarg,"io,stat,%f,%n",&interval_float,&idx)==1){

is blowing up when the decimal separator is a comma: the returned "idx" is 0
when it should be, in my test case, 12.

Since we're reading a float, I don't know what can be done here, other than
find (or build) a locale-less sscanf().

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.