Wireshark-commits: [Wireshark-commits] master-2.4 7a347fb: If you use data_file_url(), you must fir
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7a347fb25c79ad15f8d86eaec002e4c77d58926d
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark
Commits:
7a347fb by Guy Harris (guy@xxxxxxxxxxxx):
If you use data_file_url(), you must first call init_progfile_dir().
And if you call init_progfile_dir(), you must call
init_process_policies() before that.
And even if you *don't* use data_file_url(), you might use it in the
future, or you might use other calls to get data file paths, so make
*all* the extcap programs make those calls.
(Yes, this is important on macOS, for example; it may also be important
on Windows. On other UN*Xes we may just compile in the data file path,
but that's not true on *all* our platforms.)
Change-Id: I99265ed69ec24096884ec067feddd7d7f3855436
Reviewed-on: https://code.wireshark.org/review/32775
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(backported from commit bbc8cbfb9c0f4b43834af43e518de085cc39fd6b)
Reviewed-on: https://code.wireshark.org/review/32778
Actions performed:
from ceef63f [Automatic update for 2019-04-07]
add 7a347fb If you use data_file_url(), you must first call init_progfile_dir().
Summary of changes:
extcap/androiddump.c | 18 ++++++++++++++++++
extcap/ciscodump.c | 18 ++++++++++++++++++
extcap/randpktdump.c | 18 ++++++++++++++++++
extcap/sshdump.c | 18 ++++++++++++++++++
extcap/udpdump.c | 18 ++++++++++++++++++
5 files changed, 90 insertions(+)