Ticket #1878 (closed defect: fixed)
infinite recursion in om-locations-map-pack.c
| Reported by: | xbaldauf | Owned by: | olv@… |
|---|---|---|---|
| Priority: | normal | Milestone: | Om2008.9 |
| Component: | Locations | Version: | Om2008.8 |
| Severity: | normal | Keywords: | |
| Cc: | jeremy@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
function fetch_sched() may call fetch_completion() (in line 351), while
function fetch_completion() may call fetch_sched() (in line 312).
This leads to infinite recursion if the "circumstances" are right.
One of these circumstances is if om-locations-map-pack is run over a sufficiently large cache directory (with more than 2000 tiles).
Thus, this bug prevents incremental downloading of reasonably sized tile sets (e.g. a tile set of a larger city).
Attachments
Change History
Changed 5 years ago by xbaldauf
- Attachment om-locations-map-pack.c.fixInfiniteRecursion.diff added
comment:1 Changed 5 years ago by marek
- Status changed from new to assigned
- Owner changed from marek to jeremy
- Milestone changed from Om2008.8 to Om2008.9
comment:2 Changed 5 years ago by olv
- Status changed from assigned to in_testing
Thanks for pointing out. 665e46ef6e76b414a055945761eed7e82fc5cead should fix the problem.
Note: See
TracTickets for help on using
tickets.

Fix for the bug.