This:
 #ifdef _MSC_VER
 #define localtime_r(a, b) memcpy((b), localtime((a)), sizeof(struct tm));
 #endif

doesn't look so safe. We should maybe use the localtime_r() in
wsutil/strptime.c?

--gv

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to