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

Wireshark-dev: Re: [Wireshark-dev] Error in Wireshark (tshark.c:646)

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 20 Apr 2017 10:01:32 -0700
On Apr 20, 2017, at 5:05 AM, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:
 
> Short answer: it will not as it will create other errors:

But "const char *volatile exp_pdu_filename = NULL" should work - it's not what exp_pdu_filename points to that needs to be made volatile, it's the pointer *itself* that needs to be made volatile.  Done in https://code.wireshark.org/review/21248.