Please sign in to comment.
Fix a segfault in mythweather when search for location
If a script returned invalid data we would segfault because no bounds checking was performed. While here I refactored the loops immediately around the problem to use proper iterators for speed and simplicity. (cherry picked from commit f5d1986)
- Loading branch information...
Showing with 15 additions and 5 deletions.