Wireshark-commits: [Wireshark-commits] master-2.6 a490b2e: If you use data_file_url(), you must fir
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a490b2ed6b58282f85d4fb2ae7eaa9e4462fbb75
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
a490b2e 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/32777
Actions performed:
from 5f9f893 [Automatic update for 2019-04-07]
add a490b2e 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(+)