Invalid user defined location cause Stellarium to crash

Bug #860220 reported by Khalid AlAjaji
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Medium
Sergey

Bug Description

The crash happens when an invalid entry is added manually to the location list in AppData\Roaming\Stellarium\data\user_locations.txt. The invalid entry had less than 5 tab chars before the latitude, longitude fields. a sample user_locations.txt with an invalid entry is attached.

Related branches

Revision history for this message
Khalid AlAjaji (kajaji) wrote :
Revision history for this message
Alexander Wolf (alexwolf) wrote :

But this user_locations file contains data in doesn't correct format

Changed in stellarium:
status: New → Incomplete
Changed in stellarium:
status: Incomplete → Confirmed
Changed in stellarium:
milestone: none → 0.11.1
importance: Undecided → Medium
Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
Changed in stellarium:
milestone: 0.11.1 → 0.11.2
Changed in stellarium:
assignee: Alexander Wolf (alexwolf) → nobody
Changed in stellarium:
milestone: 0.11.2 → 1.0.0
Changed in stellarium:
assignee: nobody → Alexander Wolf (alexwolf)
status: Confirmed → In Progress
Revision history for this message
Sergey (sergeyvist) wrote :

please review the following patch.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

This patch introduced new bug - impossible using locations from other planets.

Sergey (sergeyvist)
Changed in stellarium:
assignee: Alexander Wolf (alexwolf) → Sergey (sergeyvist)
Revision history for this message
Sergey (sergeyvist) wrote :

I am not sure what do you mean.

Revision history for this message
Alexander Wolf (alexwolf) wrote :
Changed in stellarium:
milestone: 1.0.0 → 0.11.3
status: In Progress → Incomplete
status: Incomplete → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.