[PATCH] Do not segfault when Heinrichs Weikamp website is offline

Jan Mulder jlmulder at xs4all.nl
Thu Dec 15 06:24:06 PST 2016


Today, the HW website was down, resulting in a segfault when importing 
data from an OSTC3 or SPORT divecomputer, and selecting ok after the 
dives where (correctly) imported. It was caused by the check logic to 
see if a firmware upgrade was available.

This patch makes the check just a little more robust, and silently 
ignores a possible update of the firmware.

And includes 2 fixes typo's in the comments

Signed-off-by: Jan Mulder <jlmulder at xs4all.nl>

---
  desktop-widgets/configuredivecomputerdialog.cpp | 11 +++++++++--
  1 file changed, 9 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-Do-not-segfault-when-Heinrichs-Weikamp-website.patch
Type: text/x-diff
Size: 2143 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161215/cf37b9b6/attachment.patch>


More information about the subsurface mailing list