wireshark/epan
Peter Wu 3f5d183a44 Stop using atof/strtod (fixes column sorting of float types)
atof is locale-dependent. In locales such as Swedish, German and Dutch,
the dot is a thousand separator, resulting in wrong conversions for
floats.

While at it, make the mate dissector also be independent of locale.
Blacklist atof in checkAPIs. Lemon is still using strtod, but that is
not our problem for now.

Bug: 11297
Bug: 8964
Change-Id: I6fe3e45eb1d6d95d41aa4f3af1f81a6204a60c63
Reviewed-on: https://code.wireshark.org/review/9116
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-06-25 15:38:45 +00:00
..
compress
crypt airpdcap: fix V512 warning reported by PVS-Studio 2015-06-07 13:07:33 +00:00
dfilter
dissectors Stop using atof/strtod (fixes column sorting of float types) 2015-06-25 15:38:45 +00:00
ftypes Remove another batch of deprecated tvb_length calls 2015-06-24 04:30:35 +00:00
nghttp2 Don't export libnghttp2 routines outside libwireshark. 2015-06-24 17:13:09 +00:00
wmem
wslua Fix "Unescaped left brace in regex is deprecated" 2015-06-22 22:44:36 +00:00
CMakeLists.txt P1: Remove from ASN1 DIRTY list 2015-06-23 17:37:06 +00:00
CMakeListsCustom.txt.example
Makefile.am 1.99.7 → 1.99.8 2015-06-18 20:04:03 +00:00
Makefile.common Refactor RTD stats. 2015-06-22 15:13:39 +00:00
Makefile.nmake
addr_and_mask.c
addr_and_mask.h
addr_resolv.c Fix memory leak printing eui64s 2015-06-21 18:40:01 +00:00
addr_resolv.h
address.h Address.h : fix api reference warning 2015-04-29 08:11:55 +00:00
address_types.c
address_types.h
afn.c
afn.h
aftypes.c
aftypes.h
app_mem_usage.c
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Stop using atof/strtod (fixes column sorting of float types) 2015-06-25 15:38:45 +00:00
asn1.h
ax25_pids.h
bridged_pids.h
charsets.c
charsets.h
chdlctypes.h
circuit.c
circuit.h
color_dissector_filters.c
color_dissector_filters.h
column-info.h
column-utils.c
column-utils.h
column.c
column.h
conv_id.h
conversation.c
conversation.h
conversation_debug.h
conversation_table.c Further refactor SRT stats. 2015-06-21 03:35:13 +00:00
conversation_table.h
crc6-tvb.c
crc6-tvb.h
crc8-tvb.c
crc8-tvb.h
crc10-tvb.c
crc10-tvb.h
crc16-tvb.c
crc16-tvb.h
crc32-tvb.c
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l Allow empty-element Diameter Applications and use that format. 2015-05-08 04:23:10 +00:00
disabled_protos.c
disabled_protos.h
dissector_filters.c
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
dwarf.c dwarf.c: fix V629 warning reported by PVS-Studio 2015-06-07 14:34:36 +00:00
dwarf.h
eap.h
eapol_keydes_types.h
enterprise-numbers [Automatic update for 2015-06-21] 2015-06-21 15:09:43 +00:00
epan-int.h
epan.c Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs. 2015-03-20 05:30:52 +00:00
epan.h
epan_dissect.h
etypes.h Improve VN-Tag dissector. 2015-05-20 14:57:51 +00:00
ex-opt.c
ex-opt.h
except.c Print unsigned long values with %lu, not %ld. 2015-06-06 01:40:08 +00:00
except.h
exceptions.h
exntest.c
expert.c Expert Info dialog. 2015-05-08 04:29:59 +00:00
expert.h Expert Info dialog. 2015-05-08 04:29:59 +00:00
exported_pdu.c Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
exported_pdu.h Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
ext_menubar.c Get rid of extra variable. 2015-04-14 07:14:43 +00:00
ext_menubar.h Fix out of tree builds 2015-05-25 10:42:59 +00:00
filter_expressions.c
filter_expressions.h
follow.c ui/follow: fix The 'find_addr[UDP_STREAM]' variable is assigned values twice successively. Perhaps this is a mistake. Found by PVS Studio (V519) 2015-06-06 17:11:45 +00:00
follow.h follow.h: fix api reference warning 2015-04-29 08:32:58 +00:00
frame_data.c
frame_data.h
frame_data_sequence.c
frame_data_sequence.h
funnel.c
funnel.h
g_int64_hash_routines.c
g_int64_hash_routines.h
garrayfix.h
gcp.c [GCP] Add a command string when there's no context tracking. 2015-05-13 12:35:14 +00:00
gcp.h
geoip_db.c
geoip_db.h
golay.c
golay.h
guid-utils.c
guid-utils.h
iax2_codec_type.h
in_cksum.c Fix MSCV 2015RC Warning in_cksum.c(92): warning C4311: 'type cast': 2015-06-08 11:13:23 +00:00
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.c
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h
next_tvb.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
next_tvb.h
nlpid.h
oids.c
oids.h
oids_test.c
osi-utils.c
osi-utils.h
oui.c
oui.h
packet-range.c
packet-range.h
packet.c Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
packet.h Add ability to export PDUs for heuristic dissectors also 2015-06-25 00:10:13 +00:00
packet_info.h
params.h
ppptypes.h
prefs-int.h Add a preferences editor frame. 2015-06-18 00:46:50 +00:00
prefs.c Initialize default stats before using them 2015-06-24 19:48:09 +00:00
prefs.h Have a #define for whether the capture buffer size can be set. 2015-03-25 03:22:33 +00:00
print.c print blank strings in -Tfields 2015-06-24 23:14:37 +00:00
print.h Reduce epan dependence on dissectors by having print module "cache" the protocol and field ids that it needs. 2015-03-20 05:30:52 +00:00
print.ps
print_stream.c
print_stream.h
proto.c Fix proto_tree_add_bytes_item() when we fail to decode number from string 2015-06-25 01:46:13 +00:00
proto.h proto.h: fix clang++ 3.6 warning 2015-05-24 18:31:16 +00:00
ps.h
ptvcursor.h
radius_dict.l
range.c Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
range.h Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
reassemble.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
reassemble.h [Reassembly] Fix a reassembly case where the two fragments are in the same 2015-03-18 05:32:06 +00:00
reassemble_test.c
reedsolomon.c
reedsolomon.h
req_resp_hdrs.c Fix some cases where we're shifting a signed 1 left. 2015-04-30 22:22:59 +00:00
req_resp_hdrs.h
rtd_table.c Add a strlen cast. 2015-06-22 15:53:35 +00:00
rtd_table.h rtd_table.h: fix parameter 'srt/srt_array' not found in the function declaration [-Wdocumentation] 2015-06-22 20:56:43 +00:00
rtp_pt.h
sctpppids.h
show_exception.c
show_exception.h
slow_protocol_subtypes.h
sminmpec.c [Automatic update for 2015-06-21] 2015-06-21 15:09:43 +00:00
sminmpec.h Netflow/Ipfix: Add Citrix Netscaler AppFlow 2015-03-19 14:27:24 +00:00
srt_table.c srt_table: fix conversion shortens 64-bit value into a 32-bit value 2015-06-21 05:42:59 +00:00
srt_table.h srt_table.h: fix parameter 'opt_arg/filter' not found in the function declaration [-Wdocumentation] 2015-06-22 23:43:42 +00:00
stat_groups.h Add TapParameterDialog. 2015-06-08 19:51:34 +00:00
stat_tap_ui.c
stat_tap_ui.h Mark items unused or rarely-used as appropriate. 2015-06-11 17:22:17 +00:00
stats_tree.c Clean up stats_tree_presentation. 2015-06-05 21:39:08 +00:00
stats_tree.h
stats_tree_priv.h Add TapParameterDialog. 2015-06-08 19:51:34 +00:00
stream.c [MSVC 2015] Try to fix warinings turned errors. 2015-06-04 15:10:15 +00:00
stream.h
strutil.c
strutil.h
t35.c
t35.h
tap-voip.h
tap.c Have per-queued-packet flags, including "is a packet in error". 2015-05-16 18:38:26 +00:00
tap.h tap: Add ability to reject/ignore "error" packets in tap 2015-05-16 12:13:45 +00:00
tfs.c TFS: Mutualize Response/Request TFS 2015-06-15 19:55:58 +00:00
tfs.h TFS: Mutualize Response/Request TFS 2015-06-15 19:55:58 +00:00
time_fmt.h
timestamp.c
timestamp.h
timestats.c
timestats.h
to_str-int.h
to_str.c Fix memory leak printing eui64s 2015-06-21 18:40:01 +00:00
to_str.h to_str.h: fix api reference 2015-04-29 10:55:40 +00:00
tpg.c
tpg.h
tvbparse.c
tvbparse.h
tvbtest.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
tvbuff-int.h
tvbuff.c
tvbuff.h Remove the last deprecated tvb_length calls 2015-06-24 17:32:40 +00:00
tvbuff_base64.c
tvbuff_composite.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
tvbuff_real.c
tvbuff_subset.c Remove deprecated tvb_length calls 2015-06-24 00:31:25 +00:00
tvbuff_zlib.c
uat-int.h
uat.c
uat.h Use an "Open" instead of a "Save" dialog for UAT prefs. 2015-05-28 21:16:39 +00:00
uat_load.l Fix x64 compilation warning 2015-04-27 14:40:16 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c
xdlc.h