Opened 19 years ago
Last modified 19 years ago
#766 closed defect (fixed)
stack overflow with recursive method in AAIGRasterBand::IReadBlock
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | blocker | Keywords: | |
Cc: |
Description
Hi, I have a stackoverflow in GDAL when I read an asciigrid. the proble is that I have an asciigrid with ~2800 lines. I'm trying to access the last line (nBlockYOff = 2800 in AAIGRasterBand::IReadBlock ) Because the other lines are not read (reading line 2800 is my only call), the function recusively read the other lines. And this causes a stack overflow. Is it possible to use another way in the AAIGRasterBand::IReadBlock implementation ? Thanks a lot, Stephane Routelous PS : sorry, I cannot send the file because of "classified" data
Note:
See TracTickets
for help on using tickets.