Skip to content
Snippets Groups Projects

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

Merged 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

Merge train pipeline #228885442 passed

Merge train pipeline passed for b4cba16c

Merged by Pascal QuantinPascal Quantin 4 years ago (Dec 12, 2020 2:18pm UTC)

Loading

Pipeline #228889952 failed

Pipeline failed for 746051d0 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading