Project

General

Profile

Bug #2080

[Updater] Crash when parsing the version number information

Added by skyjake almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Defect
Target version:
Start date:
2015-06-07
% Done:

100%

Tags:

Description

VersionInfo is having a problem with the version numbers where zeroes are omitted.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   QtCore                              0x0000000106b4b1b4 QString::toInt(bool*, int) const + 20
1   net.dengine.doomsday                0x00000001047e1970 VersionInfo::parseVersionString(de::String const&) + 128
2   net.dengine.doomsday                0x000000010488a265 Updater::Instance::handleReply(QNetworkReply*) + 1669

The version number parsers should more carefully check that the text they are parsing conforms to expectations.

Associated revisions

Revision d2161a81 (diff)
Added by skyjake almost 9 years ago

Fixed|Client: Parsing version numbers with fewer than three components

IssueID #2080

Revision 88f11bd3 (diff)
Added by skyjake almost 9 years ago

Fixed|Client: Parsing version numbers with fewer than three components

IssueID #2080

History

#1 Updated by skyjake almost 9 years ago

  • Description updated (diff)

#2 Updated by skyjake almost 9 years ago

  • Priority changed from Urgent to Normal

#3 Updated by skyjake almost 9 years ago

  • Status changed from New to In Progress

#4 Updated by skyjake almost 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#5 Updated by skyjake almost 9 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF