wireshark/ui
Peter Wu 5ab45709d6 gtk,qt: Fix minor buffer underrun
Avoid accessing the first byte before an empty dirname. No idea why this
was not triggered before. Reproduced with an empty Wireshark profile and
wireshark and wireshark-qt.

Caught with ASAN.

Change-Id: I44f8fdab03ad0f24e663df63a1c54567996a3dfc
Reviewed-on: https://code.wireshark.org/review/9037
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2015-06-22 22:54:19 +00:00
..
cli Refactor RTD stats. 2015-06-22 15:13:39 +00:00
gtk gtk,qt: Fix minor buffer underrun 2015-06-22 22:54:19 +00:00
qt gtk,qt: Fix minor buffer underrun 2015-06-22 22:54:19 +00:00
win32 Minor Win32 console fix. 2015-04-16 21:33:39 +00:00
CMakeLists.txt Refactor RTD stats. 2015-06-22 15:13:39 +00:00
Makefile.am Support out-of-source checkapi 2014-04-25 04:23:46 +00:00
Makefile.common Refactor RTD stats. 2015-06-22 15:13:39 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
alert_box.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
alert_box.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
capture.c Use pid_t on UN*X, and HANDLE on Windows, for the process ID. 2015-06-10 00:30:57 +00:00
capture.h Qt: Add a CaptureFile class. 2014-12-20 17:39:29 +00:00
capture_globals.h Move capture_session.h to capchild; what it declares is defined there. 2014-06-30 05:09:31 +00:00
capture_ui_utils.c Have a common routine for constructing strings listing interfaces. 2015-04-05 23:43:01 +00:00
capture_ui_utils.h Have a common routine for constructing strings listing interfaces. 2015-04-05 23:43:01 +00:00
console.c (Trivial) Fix printf-related 'Mismatch on sign' warnings 2015-02-09 18:57:14 +00:00
console.h Move the console log handling code to ui/console.[ch]. 2014-09-26 14:15:45 +00:00
decode_as_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
decode_as_utils.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
doxygen.cfg.in Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
export_object.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
export_object_dicom.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
export_object_http.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
export_object_smb.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
export_object_tftp.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
file_dialog.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
filters.c Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00
filters.h Qt: Add the capture and display filter dialog. 2015-06-05 19:19:46 +00:00
follow.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
follow.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
help_url.c Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
help_url.h Add the Display Filter Expression dialog. 2015-06-03 02:27:00 +00:00
iface_lists.c Let capture_dev_user_pmode_find() say "not found". 2015-04-04 21:03:34 +00:00
iface_lists.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
io_graph_item.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
io_graph_item.h Make FT_{U}INT64 behave more like FT_{U}INT32, add support for FT_{U}INT{40,48,56} 2015-02-21 16:57:52 +00:00
language.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
language.h Qt: Dynamic languages 2014-11-04 08:21:55 +00:00
last_open_dir.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
main_statusbar.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
mcast_stream.c Do all floating-point work in double-precision. 2015-05-16 22:50:15 +00:00
mcast_stream.h Do all floating-point work in double-precision. 2015-05-16 22:50:15 +00:00
packet_list_utils.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
packet_list_utils.h Fix warning when generate documentation (doxygen) 2014-04-14 20:20:38 +00:00
persfilepath_opt.c Don't use <ctype.h> macros, and eliminate an include of <ctype.h>. 2014-10-17 06:41:58 +00:00
persfilepath_opt.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
preference_utils.c Qt: Implement "Apply as Column" for packet context 2015-05-15 06:05:01 +00:00
preference_utils.h Qt: Implement "Apply as Column" for packet context 2015-05-15 06:05:01 +00:00
profile.c Remove some apparently-unnecessary includes of emem.h. 2015-01-18 19:47:20 +00:00
profile.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
progress_dlg.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
proto_hier_stats.c Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
proto_hier_stats.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
recent.c recent.c: accept an UTF-8 string in read_set_recent_pair_dynamic() function 2015-06-19 13:30:56 +00:00
recent.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
recent_utils.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
rtp_analysis.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
rtp_stream.c Start exposing the filter field of a tap listener to the RTP GUI APIs. 2015-05-20 11:03:58 +00:00
rtp_stream.h Start exposing the filter field of a tap listener to the RTP GUI APIs. 2015-05-20 11:03:58 +00:00
simple_dialog.h Adjust some whitespace to match editor modelines. 2014-10-06 03:42:51 +00:00
software_update.c Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
software_update.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ssl_key_export.c Export CLIENT_RANDOM with Export SSL Session Keys 2015-03-12 16:27:10 +00:00
ssl_key_export.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap-rtp-common.c Fix some indent typo (after g2bf7878e) 2015-02-02 12:37:06 +00:00
tap-rtp-common.h Qt: Add the RTP Streams dialog. 2015-01-30 06:48:32 +00:00
tap-sctp-analysis.c Fix up formatting and indentation a bit. 2015-02-17 03:41:20 +00:00
tap-sctp-analysis.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
tap-sequence-analysis.c Replace ep_display_to_address with wmem equivalent display_to_address. 2015-01-05 13:55:04 +00:00
tap-sequence-analysis.h Qt: Initial VoIP Calls dialog. 2014-12-09 21:25:33 +00:00
tap-tcp-stream.c Clean up ftype-conversion and dfilter error message string handling. 2015-01-18 10:22:59 +00:00
tap-tcp-stream.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
tap_export_pdu.c Consistently use the "g_string_free returns a C string pointer" idiom. 2015-01-13 23:14:13 +00:00
tap_export_pdu.h Cleanup the "export PDU" common code. 2014-07-15 20:15:59 +00:00
text_import.c Handle "I can't map this for that file format" better. 2014-12-18 00:03:26 +00:00
text_import.h Revert "Refactor Wiretap" 2014-05-09 05:21:01 +00:00
text_import_scanner.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
text_import_scanner.l Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
time_shift.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
time_shift.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
traffic_table_ui.c WSUG and image updates. 2015-02-14 19:47:03 +00:00
traffic_table_ui.h Qt: Add the "Map" button to the Endpoints dialog. 2014-09-17 20:04:28 +00:00
ui_util.h Rename wsutil/process.h to wsutil/processes.h to avoid collisions. 2015-06-10 01:56:27 +00:00
utf8_entities.h Qt: Add the Protocol Hierarchy statistics dialog. 2015-02-04 02:06:01 +00:00
util.c Remove unneeded includes from ui folder 2015-01-01 23:11:10 +00:00
util.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
voip_calls.c Fix a few issues reported by PVS-Studio 2015-06-05 21:15:37 +00:00
voip_calls.h Replace tabs by spaces when editor modelines has "expandtab" 2015-02-13 17:34:53 +00:00