Skip to content

Qt: fix crash when opening/saving IP map on Windows

Pascal Quantin requested to merge pquantin/wireshark:ipmap into master

According to https://bugreports.qt.io/browse/QTBUG-20372 you need to close a QFile before calling fclose, otherwise it leads to an unexpected behavior. Let's duplicate the file handle to avoid this issue as suggested in https://stackoverflow.com/questions/9465727/convert-qfile-to-file

Closes #17074 (closed)

Edited by Pascal Quantin

Merge request reports